aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath
AgeCommit message (Collapse)AuthorFilesLines
2007-10-01check_jni_methods.sh: Don't depend on diff -b ignoring a single trailing ↵Alexandre Oliva2-5/+10
whitespace. * scripts/check_jni_methods.sh: Don't depend on diff -b ignoring a single trailing whitespace. From-SVN: r128910
2007-09-05configure.ac: Do not pass --with-native-libdir to classpath.Matthias Klose3-3/+8
libjava/ 2007-09-04 Matthias Klose <doko@ubuntu.com> * configure.ac: Do not pass --with-native-libdir to classpath. * configure: Regenerate. libjava/classpath/ 2007-09-04 Matthias Klose <doko@ubuntu.com> * configure.ac: Append libgcj soversion to nativeexeclibdir. * configure: Regenerate. From-SVN: r128121
2007-08-31EnumSet*.class: RegenerateMatthias Klose3-0/+0
2007-08-31 Matthias Klose <doko@ubuntu.com> * classpath/lib/java/util/EnumSet*.class: Regenerate From-SVN: r128002
2007-08-30EnumSet.java: Documented.Andrew John Hughes2-2/+175
2007-08-22 Andrew John Hughes <gnu_andrew@member.fsf.org> * java/util/EnumSet.java: Documented. (complementOf(EnumSet)): Fixed to flip only the bits used by the enumset. From-SVN: r127938
2007-08-15Class.java (internalGetFields): Use LinkedHashSet.Tom Tromey1-0/+0
* java/lang/Class.java (internalGetFields): Use LinkedHashSet. * classpath/lib/java/lang/Class.class: Rebuilt. From-SVN: r127518
2007-08-08re PR classpath/32844 (EnumSet causes code to be miscompiled)Dalibor Topic5-201/+201
2007-07-31 Dalibor Topic <robilad@kaffe.org> PR 32844 * java/util/EnumSet.java: Made class abstract per API spec. (size, iterator, add, addAll, clear, contains, containsAll, remove, removeAll, retainAll) Moved into an anonymous inner class in of(T). (allOf, noneOf, copyOf, of, range) Made more implementation independent. (of(T)) return an instance of an anonymous class implementing EmptySet. From-SVN: r127291
2007-08-04natFilePosix.cc (init_native): Define to 0.Alfred M. Szmidt1-0/+0
2007-08-04 Alfred M. Szmidt <ams@gnu.org> * java/io/natFilePosix.cc (init_native) [!MAXPATHLEN]: Define to 0. * java/io/File.java (createTempFile): Don't truncate if the system doesn't have a limit on the length of a file name. * classpath/lib/java/io/File.class: Regenerate. From-SVN: r127216
2007-08-04Import GNU Classpath (libgcj-import-20070727).Matthias Klose419-4777/+11861
libjava/ 2007-08-04 Matthias Klose <doko@ubuntu.com> Import GNU Classpath (libgcj-import-20070727). * Regenerate class and header files. * Regenerate auto* files. * include/jvm.h: * jni-libjvm.cc (Jv_JNI_InvokeFunctions): Rename type. * jni.cc (_Jv_JNIFunctions, _Jv_JNI_InvokeFunctions): Likewise. * jni.cc (_Jv_JNI_CallAnyMethodA, _Jv_JNI_CallAnyVoidMethodA, _Jv_JNI_CallMethodA, _Jv_JNI_CallVoidMethodA, _Jv_JNI_CallStaticMethodA, _Jv_JNI_CallStaticVoidMethodA, _Jv_JNI_NewObjectA, _Jv_JNI_SetPrimitiveArrayRegion): Constify jvalue parameter. * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise. * java/lang/VMFloat.java (toString, parseFloat): New. * gnu/awt/xlib/XToolkit.java (setAlwaysOnTop, isModalityTypeSupported, isModalExclusionTypeSupported): New (stub only). * gnu/awt/xlib/XCanvasPeer.java (requestFocus): Likewise. * gnu/awt/xlib/XFramePeer.java (updateMinimumSize, updateIconImages, updateFocusableWindowState, setModalBlocked, getBoundsPrivate, setAlwaysOnTop): Likewise. * gnu/awt/xlib/XFontPeer.java (canDisplay): Update signature. * scripts/makemake.tcl: Ignore gnu/javax/sound/sampled/gstreamer, ignore javax.sound.sampled.spi.MixerProvider, ignore .in files. * HACKING: Mention --enable-gstreamer-peer, removal of generated files. libjava/classpath/ 2007-08-04 Matthias Klose <doko@ubuntu.com> * java/util/EnumMap.java (clone): Add cast. From-SVN: r127204
2007-07-28jvmti.h: Remove.Matthias Klose1-1819/+0
2007-07-28 Matthias Klose <doko@ubuntu.com> * classpath/jvmti.h: Remove. From-SVN: r127024
2007-07-27* Rebuild .class files with new ecj.Tom Tromey1770-0/+0
From-SVN: r126998
2007-07-16File.java: Implement Comparable<File>.Tom Tromey1-0/+0
* java/io/File.java: Implement Comparable<File>. (compareTo): Removed. * java/io/File.h: Rebuilt. * classpath/lib/java/io/File.class: Rebuilt. From-SVN: r126670
2007-07-15* Rebuilt .class files.Tom Tromey1774-0/+0
From-SVN: r126663
2007-07-12jazzlib, rmi: Remove empty directories.Matthias Klose1-0/+4
2007-07-12 Matthias Klose <doko@ubuntu.com> * lib/jazzlib, tools/gnu/classpath/tools/rmi: Remove empty directories. From-SVN: r126579
2007-06-20Update from classpath trunk:Keith Seitz3-3/+13
* classpath/lib/gnu/classpath/jdwp/value/StringValue.class: Regenerate. * gnu/classpath/jdwp/value/StringValue.java (StringValue): Tag of StringValue is STRING not OBJECT. (write): String values are written to the wire as tag byte and object ID, not JdwpString. From-SVN: r125897
2007-06-20VMVirtualMachine.java (executeMethod): Update from reference implementation.Keith Seitz5-0/+0
* gnu/classpath/jdwp/VMVirtualMachine.java (executeMethod): Update from reference implementation. * gnu/classpath/jdwp/natVMVirtualMachine.cc (executeMethod): Update parameter list to match new VMVirtualMachine interface. * classpath/lib/gnu/classpath/jdwp/processor/ClassTypeCommandSet.class: Regenerate. * classpath/lib/gnu/classpath/jdwp/processor/ ObjectReferenceCommandSet.class: Regenerate. * classpath/lib/gnu/classpath/jdwp/value/ObjectValue.class: Regenerate. * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class: Regenerate. * classpath/lib/gnu/classpath/jdwp/util/MethodResult.class: Regenerate. From-SVN: r125896
2007-06-20Update from classpath trunk:Keith Seitz6-104/+110
* gnu/classpath/jdwp/processor/ClassTypeCommandSet.java (executeInvokeMethod): No need to use ValueFactory any more; MethodResult.getReturnedValue now returns a Value. (executeNewInstance): Double-check that return result is an ObjectValue; throw JdwpInternalErrorException if it is not. (invokeMethod): Method IDs come from VMMethod, not VMIdManager. Arguments are Values not Objects. Use ValueFactory to create arguments. Pass invocation options to VMVirtualMachine.executeMethod. Don't do any thread suspend/resume work: VMVM.executeMethod will take care of it. * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java (executeInvokeMethod): Method IDs come from VMMethod, not VMIdManager. Arguments should be Values instead of Objects. Use ValueFactory to create Values. Remove specific option handling and pass options to VMVirtualMachine.executeMethod. Remove thread suspension. Use MethodResult.getReturnedValue to get method's result. * gnu/classpath/jdwp/util/MethodResult.java (returnedValue): Change type to Value. (thrownException): Change type to Throwable. (resType): Remove. (MethodResult): New constructor. (setReturnedValue): Remove. (SetThrownException): Remove. (getResultType): Remove. (setResultType): Remove. * gnu/classpath/jdwp/value/ObjectValue.java (getValue): New method. * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java (executeMethod): Replace "nonVirtual" parameter with more generic "options" parameter. Replace java.lang.reflect.Method parameter with VMMethod. Replace Object[] parameter with Value[] parameter. From-SVN: r125895
2007-06-19Breakpoint.java: Make abstract.Keith Seitz3-0/+0
* gnu/gcj/jvmti/Breakpoint.java: Make abstract. (method): Change from private to protected. (location): Likewise. (Breakpoint): Change argument list to take only integer type. Add default constructor. (initialize_native): Renamed to ... (_save_insn): ... this to make function more explicit. (execute): New method. * gnu/gcj/jvmti/Breakpoint.h: Regenerate. * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native): Rename to... (_save_insn): ... this. (install): Save the original instruction. * gnu/gcj/jvmti/NormalBreakpoint.java: New file. * gnu/gcj/jvmti/NormalBreakpoint.h: New file. * gnu/gcj/jvmti/natNormalBreakpoint.cc: New file. * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint): Instantiate a NormalBreakpoint instead of Breakpoint. * interpret-run.cc (insn_breakpoint): Remove breakpoint actions and call Breakpoint.execute to do them. * classpath/lib/gnu/gcj/jvmti/Breakpoint.class: Regenerate. * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class: Likewise. * classpath/lib/gnu/gcj/jvmti/NormalBreakpoint.class: New file. * sources.am: Regenerate. * Makefile.am (nat_source_files): Add natNormalBreakpoint.cc. * Makefile.in: Regenerated. From-SVN: r125834
2007-06-07re PR libgcj/32227 (../gcc/libjava/classpath/include/config-int.h:7:20: ↵Matthias Klose2-9/+5
error: stdint.h: No such file or directory) 2007-06-07 Matthias Klose <doko@ubuntu.com> PR libgcj/32227 * include/config-int.h: Delete, it is a generated file. From-SVN: r125528
2007-06-04acinclude.m4: Accept GCJ and JIKES.Matthias Klose3-43/+61
2007-06-04 Matthias Klose <doko@ubuntu.com> * m4/acinclude.m4: Accept GCJ and JIKES. * configure: Regenerate. From-SVN: r125310
2007-06-03libjava/classpath/ChangeLog.gcj:Matthias Klose2641-62881/+74646
2007-05-31 Matthias Klose <doko@ubuntu.com> * javax/management/NotificationBroadcasterSupport.java (getNotificationInfo): Add cast. * native/jni/qt-peer/Makefile.am (AM_CXXFLAGS): Add libstdc++ include directories. * native/jni/qt-peer/Makefile.in: Regenerate. libjava/ChangeLog: 2007-06-03 Matthias Klose <doko@ubuntu.com> * java/io/natFileWin32.cc (setFilePermissions): New (stub only). _access: Handle EXEC query, stub only. 2007-06-03 Matthias Klose <doko@ubuntu.com> Merged from classpath: * gnu/java/nio/SelectorProviderImpl.java: Whitespace merge. * java/lang/System.java(inheritedChannel): New. * java/lang/Character.java: Remove stray`;'. * java/net/MulticastSocket.java: Merged. * java/text/DateFormatSymbols.java(getInstance): New, comment updates. * java/text/Collator.java(getInstance): Merged. * java/util/Calendar.java: New attributes ALL_STYLES, SHORT, LONG. getDisplayName, getDisplayNames: New. * java/util/logging/Logger.java: Merged. * Regenerate .class and .h files. 2007-06-03 Matthias Klose <doko@ubuntu.com> * java/io/File.java: Merge with classpath-0.95, new method setFilePermissions, new attribute EXEC. * java/io/natFilePosix.cc (setFilePermissions): New. _access: Handle EXEC query. * classpath/lib/java/io/File.class, java/io/File.h: Regenerate. 2007-06-03 Matthias Klose <doko@ubuntu.com> Imported GNU Classpath 0.95. * classpath/Makefile.in, classpath/native/jni/midi-dssi/Makefile.in, classpath/native/jni/classpath/Makefile.in, classpath/native/jni/Makefile.in, classpath/native/jni/gconf-peer/Makefile.in, classpath/native/jni/java-io/Makefile.in, classpath/native/jni/native-lib/Makefile.in, classpath/native/jni/java-util/Makefile.in, classpath/native/jni/midi-alsa/Makefile.in, classpath/native/jni/java-lang/Makefile.in, classpath/native/jni/java-nio/Makefile.in, classpath/native/jni/java-net/Makefile.in, classpath/native/jni/xmlj/Makefile.in, classpath/native/jni/qt-peer/Makefile.in, classpath/native/jni/gtk-peer/Makefile.in, classpath/native/Makefile.in, classpath/native/jawt/Makefile.in, classpath/native/fdlibm/Makefile.in, classpath/native/plugin/Makefile.in, classpath/resource/Makefile.in, classpath/scripts/Makefile.in, classpath/tools/Makefile.in, classpath/doc/Makefile.in, classpath/doc/api/Makefile.in, classpath/lib/Makefile.in, classpath/external/Makefile.in, classpath/external/jsr166/Makefile.in, classpath/external/sax/Makefile.in, classpath/external/w3c_dom/Makefile.in, classpath/external/relaxngDatatype/Makefile.in, classpath/include/Makefile.in, classpath/examples/Makefile.in: Regenerate. * classpath/config.guess, classpath/config.sub, classpath/ltmain.sh : Update. * classpath/configure, classpath/depcomp, classpath/missing, classpath/aclocal.m4, classpath/install-sh: Regenerate. * gnu/classpath/Configuration.java (CLASSPATH_VERSION): Now 0.95. * sources.am: Regenerate. * Makefile.in: Regenerate. * Update the .class files and generated CNI header files, add new .class and generated CNI header files. * Remove generated files for removed java source files: classpath/gnu/java/net/BASE64.java, classpath/gnu/java/security/util/Base64.java, classpath/gnu/java/awt/peer/gtk/GThreadMutex.java, classpath/gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java, classpath/gnu/java/awt/font/autofit/Scaler.java, classpath/gnu/classpath/jdwp/util/Value.java, classpath/gnu/javax/net/ssl/Base64.java. * Remove empty directories. * Makefile.am(nat_source_files): Add natVMOperatingSystemMXBeanImpl.cc. * java/lang/Class.java(setAccessible): Merge from classpath. * java/util/Locale.java: Remove. * gnu/java/lang/management/VMOperatingSystemMXBeanImpl.java, gnu/java/lang/management/natVMOperatingSystemMXBeanImpl.cc: New. * gcj/javaprims.h: Update class declarations. * scripts/classes.pl: Update usage. * HACKING: Mention to build all peers. From-SVN: r125302
2007-05-30re PR java/32098 (New libtool doesn't support libjava)H.J. Lu5-596/+16411
2007-05-30 H.J. Lu <hongjiu.lu@intel.com> PR libjava/32098 * configure.ac: Add AC_CONFIG_AUX_DIR(../..). * aclocal.m4: Regenerated. * configure: Likewise. * Makefile.in: Likewise. From-SVN: r125194
2007-05-19re PR libgcj/31659 (config-int.h:327:1: error: "INT8_MIN" redefined)Andreas Tobler3-0/+56
2007-05-19 Andreas Tobler <a.tobler@schweiz.org> PR libgcj/31659 * m4/ax_create_stdint_h.m4: Apply patch from PR31659. * configure: Regenerate. From-SVN: r124860
2007-05-172007-05-17 Kyle Galloway <kgallowa@redhat.com>Kyle Galloway2-2/+1
* classpath/gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java (executeMethods): Remove cast to ClassReferenceTypeId. * classpath/lib/gnu/classpath/jdwp/processor/ ReferenceTypeCommandSet.class: Rebuilt. From-SVN: r124809
2007-05-17VMFrame.java (<init>): Add parameter for "this" pointer.Kyle Galloway1-0/+0
2007-05-17 Kyle Galloway <kgallowa@redhat.com> * gnu/classpath/jdwp/VMFrame.java (<init>): Add parameter for "this" pointer. * gnu/classpath/jdwp/VMFrame.h: Regenerated. * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt. * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrame): Use new VMFrame constructor. From-SVN: r124806
2007-05-16java-interp.h (breakpoint_at): Declare.Keith Seitz1-0/+0
* include/java-interp.h (breakpoint_at): Declare. * interpret.cc (breakpoint_at): New function. * gnu/classpath/jdwp/VMVirtualMachine.java (_event_list): New member. * gnu/classpath/jdwp/natVMVirtualMachine.cc (initialize): Initialize _event_list. (handle_single_step): If there is a breakpoint at the location at which we are stopping, do not send the notification. Instead add the event to a list of events that occur at this location. (jdwpBreakpointCB): If the event list is not empty, send whatever events are in it and the breakpoint event in a single notification. Mark parameter jni_env as MAYBE_UNUSED. * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class: Regenerated. * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated. From-SVN: r124777
2007-05-16HTMLEditorKit.class: RegenerateDavid Daney1-0/+0
* classpath/lib/javax/swing/text/html/HTMLEditorKit.class: Regenerate * gnu/java/awt/peer/gtk/ComponentGraphics.h: Same. From-SVN: r124761
2007-05-12re PR libgcj/29324 (add wait handling hook)David Daney3-0/+0
PR libgcj/29324 * include/posix-threads.h (_Jv_BlockSigchld): Declare. (_Jv_UnBlockSigchld): Same. * posix-threads.cc: Include posix-threads.h. (block_sigchld) Rename to... (_Jv_BlockSigchld) ... this. (_Jv_UnBlockSigchld): New function. (_Jv_InitThreads): Call _Jv_BlockSigchld in place of block_sigchld. (_Jv_ThreadStart): Same. * java/lang/PosixProcess$ProcessManager.h: Regenerate. * java/lang/PosixProcess.java: Clean up imports. (ProcessManager): Make final. (ProcessManager.queue): Genericise and make private. (ProcessManager.pidToProcess): Remove. (ProcessManager.liveProcesses): New field. (ProcessManager.reaperPID): Remove. (ProcessManager.nativeData): New field. (ProcessManager.removeProcessFromMap): Remove. (ProcessManager.addProcessToMap):Remove. (ProcessManager.addToLiveProcesses): New method. (ProcessManager.run): Rewritten. (ProcessManager.reap): Change method signature, (getErrorStream): Correct formatting. (getInputStream): Same. (spawn): Add process to liveProcesses list. (pid): Make package private. * java/lang/PosixProcess.h: Regenerate. * java/lang/natPosixProcess.cc: Include posix.h and posix-threads.h. Add useing namespace java::lang. (ProcessManagerInternal): New struct. (sigchld_handler): Rewritten. (init): Rewritten. (waitForSignal): Same. (reap): Same. (signalReaper): Same. (nativeDestroy): Call kill as ::kill. (nativeSpawn): Correct formatting. * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Regenerate. * classpath/lib/java/lang/PosixProcess.class: Same. * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same. From-SVN: r124638
2007-05-07Jdwp.class: Regenerate.Keith Seitz4-0/+0
* classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerate. * classpath/lib/gnu/classpath/jdwp/Jdwp$1.class: Regenerate. * classpath/lib/gnu/classpath/jdwp/event/Event.class: Regenerate. * classpath/lib/gnu/classpath/jdwp/transport/JdwpConnection.class: Regenerate. * gnu/classpath/jdwp/Jdwp.h: Regenerate. * gnu/classpath/jdwp/event/Event.h: Regenerate. * gnu/classpath/jdwp/transport/JdwpConnection.h: Regenerate. From-SVN: r124515
2007-05-07Jdwp.java (notify): Rewrite to call new array-based method.Keith Seitz4-22/+132
* gnu/classpath/jdwp/Jdwp.java (notify): Rewrite to call new array-based method. (notify): New function. (sendEvent): Rewrite to use sendEvents. (sendEvents): New method. * gnu/classpath/jdwp/event/Event.java (toPacket): Make static. Change parameters to use arrays for events and requests. Add suspendPolicy parameter. Move per-event data transformation to... (_toData): ... here. * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): Renamed to ... (sendEvents): ... this. Change parameters to use arrays for events and requests. Add suspendPolicy parameter. From-SVN: r124514
2007-05-04jvmti-int.h (_Jv_ReportJVMTIExceptionThrow): Declare.Keith Seitz1-0/+0
* include/jvmti-int.h (_Jv_ReportJVMTIExceptionThrow): Declare. * interpret.cc (_Jv_ReportJVMTIExceptionThrow): New function. (find_catch_location): New function. (REPORT_EXCEPTION): New macro. (throw_internal_error): Use REPORT_EXCEPTION. (throw_incompatible_class_change_error): Likewise. (throw_null_pointer_exception): Likewise. (throw_class_format_error): Likewise. * interpret-run.cc (INTERP_REPORT_EXCEPTION)[DEBUG]: Set to REPORT_EXCEPTION. (INTERP_REPORT_EXCEPTION)[!DEBUG]: Make nop. (insn_new): Use INTERP_REPORT_EXCEPTION. (insn_athrow): Likewise. Remove previous JVMTI exception notifications. Add JVMTI ExceptionCatch notificatin. * jni.cc (_Jv_PopSystemFrame): Notify JVMTI clients of exception throw. * gnu/gcj/jvmti/ExceptionEvent.java: Removed. * gnu/gcj/jvmti/ExceptionEvent.h: Removed. * classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: Removed. * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpExceptionCB): New function. (jdwpVMInitCB): Set Exception event handler and enable. * sources.am: Regenerated. * Makefile.in: Regenerated. From-SVN: r124406
2007-05-03Makefile.in: Regenerate.Thomas Fitzsimmons2-1/+1
2007-05-03 Thomas Fitzsimmons <fitzsim@redhat.com> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237304 * Makefile.in: Regenerate. * scripts/makemake.tcl (scan_directory): Treat default.css as a property file. * classpath/javax/swing/text/html/default.css: Move to... * classpath/resource/javax/swing/text/html/default.css: New file. * classpath/javax/swing/text/html/HTMLEditorKit.java (getStyleSheet): Throw RuntimeException when style loading fails. * sources.am (property_files): Add classpath/resource/javax/swing/text/html/default.css. From-SVN: r124387
2007-05-03Server.java (Server): Record the delegate.Andrew Haley4-0/+0
2007-05-03 Andrew Haley <aph@redhat.com> * gnu/javax/management/Server.java (Server): Record the delegate. (registerMBean): Notify the delegate. (unregisterMBean): Likewise. (notify): New method. From-SVN: r124385
2007-05-03Server.java (Server): Record the delegate.Andrew Haley2-0/+28
2007-05-03 Andrew Haley <aph@redhat.com> * gnu/javax/management/Server.java (Server): Record the delegate. (registerMBean): Notify the delegate. (unregisterMBean): Likewise. (notify): New method. From-SVN: r124383
2007-05-01VMIdManager.class: Regenerated.Kyle Galloway3-0/+0
2007-05-01 Kyle Galloway <kgallowa@redhat.com> * classpath/lib/gnu/classpath/jdwp/VMIdManager.class: Regenerated. * classpath/lib/gnu/classpath/jdwp/VMIdManager$ReferenceKey.class: Regenerated. * classpath/lib/gnu/classpath/jdwp/VMIdManager$IdFactory.class: Regenerated. From-SVN: r124327
2007-04-282007-04-04 Francis Kung <fkung@redhat.com>Francis Kung4-45/+32
* gnu/java/awt/peer/gtk/ComponentGraphics.java (cairoDrawGlyphVector): Removed method. (cairoSetFont): Removed method. (disposeNative): Removed method. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Added locking. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetFont): Added locking. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Added locking. From-SVN: r124251
2007-04-28Jdwp.class: Regenerated.Keith Seitz5-25/+36
* classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerated. * classpath/lib/gnu/classpath/jdwp/event/EventManager.class: Regenerated. * gnu/classpath/jdwp/event/EventManager.h: Regenerated. * gnu/classpath/jdwp/event/EventManager.java (getEventRequest): Rename to... (getEventRequests): ...this. Change return type to array of requests. Construct a list of all matching events and return them all. * gnu/classpath/jdwp/Jdwp.java (notify): Use getEventRequests and send event notifications for all matching requests. From-SVN: r124250
2007-04-28LocationOnlyFilter.class: Regenerated;Keith Seitz6-12/+29
* classpath/lib/gnu/classpath/jdwp/event/filters/ LocationOnlyFilter.class: Regenerated; * classpath/lib/gnu/classpath/jdwp/util/Location.class: Regenerated. * gnu/classpath/jdwp/VMMethod.java * classpath/lib/gnu/classpath/jdwp/VMMethod.class: Regenerated. * gnu/classpath/jdwp/VMMethod.h: Regenerated. * gnu/classpath/jdwp/util/Location.h: Regenerated. * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java (matches): Use Location.equals to determine equality. * gnu/classpath/jdwp/VMMethod.java (equals): New method. * gnu/classpath/jdwp/util/Location.java (equals): New method. From-SVN: r124249
2007-04-27[multiple changes]Thomas Fitzsimmons8-308/+617
2007-03-16 Francis Kung <fkung@redhat.com> * gnu/java/awt/peer/gtk/CairoGraphics2D.java (cairoArc): Make protected rather than private so it can be over-ridden. (cairoClip): Likewise. (cairoClosePath): Likewise. (cairoCurveTo): Likewise. (cairoDrawGlyphVector): Likewise. (cairoFill): Likewise. (cairoLineTo): Likewise. (cairoMoveTo): Likewise. (cairoNewPath): Likewise. (cairoRectangle): Likewise. (cairoResetClip): Likewise. (cairoRestore): Likewise. (cairoSave): Likewise. (cairoScale): Likewise. (cairoSetAntialias): Likewise. (cairoSetDash): Likewise. (cairoSetFillRule): Likewise. (cairoSetFont): Likewise. (cairoSetLine): Likewise. (cairoSetMatrix): Likewise. (cairoSetOperator): Likewise. (cairoSetRGBAColor): Likewise. (cairoStroke): Likewise. (drawPixels): Likewise. (init): Likewise. (setGradient): Likewise. (setPaintPixels): Likewise. (cairoDrawLine): Removed. (cairoDrawRect): Removed. (cairoFillRect): Removed. (cairoPreserveClip): Removed. (cairoRelCurveTo): Removed. (cairoRelLineTo): Removed. (cairoRelMoveTo): Removed. * gnu/java/awt/peer/gtk/ComponentGraphics.java (cairoArc): New method wrapping superclass method in locks. (cairoClip): Likewise. (cairoClosePath): Likewise. (cairoCurveTo): Likewise. (cairoDrawGlyphVector): Likewise. (cairoFill): Likewise. (cairoLineTo): Likewise. (cairoMoveTo): Likewise. (cairoNewPath): Likewise. (cairoRectangle): Likewise. (cairoResetClip): Likewise. (cairoRestore): Likewise. (cairoSave): Likewise. (cairoScale): Likewise. (cairoSetAntialias): Likewise. (cairoSetDash): Likewise. (cairoSetFillRule): Likewise. (cairoSetFont): Likewise. (cairoSetLine): Likewise. (cairoSetMatrix): Likewise. (cairoSetOperator): Likewise. (cairoSetRGBAColor): Likewise. (cairoStroke): Likewise. (disposeNative): Likewise. (drawPixels): Likewise. (init): Likewise. (setGradient): Likewise. (setPaintPixels): Likewise. (draw): Do not lock, as locking is now done in the wrapped native methods. (drawComposite): Likewise. (drawGlyphVector): Likewise. (drawImage): Likewise. (drawRenderedImage): Likewise. (fill): Likewise. (setClip): Removed. (lock): Added documentation. (unlock): Added documentation. * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated. * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated. * lib/gnu/java/awt/peer/gtk/ComponentGraphics.class: Regenerated. * lib/gnu/java/awt/peer/gtk/CairoGraphics2D.class: Regenerated. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawLine): Removed. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawRect): Removed. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoFillRect): Removed. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoPreserveClip): Removed. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelCurveTo): Removed. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelLineTo): Removed. (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelMoveTo): Removed. 2007-04-27 Thomas Fitzsimmons <fitzsim@redhat.com> * gnu/java/awt/peer/gtk/CairoGraphics2D.h: Regenerate. * gnu/java/awt/peer/gtk/ComponentGraphics.h: Regenerate. From-SVN: r124226
2007-04-26VMIdManager.class: Regenerated.Kyle Galloway3-0/+0
* classpath/lib/gnu/classpath/jdwp/VMIdManager.class: Regenerated. * classpath/lib/gnu/classpath/jdwp/VMIdManager$ReferenceKey.class: Regenerated. * classpath/lib/gnu/classpath/jdwp/VMIdManager$IdFactory.class: Regenerated. From-SVN: r124193
2007-04-26ObjectStreamClass.java (ensureFieldsSet): New method.Andrew Haley1-0/+11
2007-04-25 Andrew Haley <aph@redhat.com> * java/io/ObjectStreamClass.java (ensureFieldsSet): New method. (setFields): call ensureFieldsSet. (fieldsSet): New field. * java/io/ObjectOutputStream.java (writeFields): Call osc.ensureFieldsSet(). * java/io/ObjectInputStream.java (parseContent): Assign the handle for a PROXYCLASSDESC immediately after reading the marker. From-SVN: r124188
2007-04-26ObjectStreamClass.java (ensureFieldsSet): New method.Andrew Haley14-2/+42
2007-04-25 Andrew Haley <aph@redhat.com> * java/io/ObjectStreamClass.java (ensureFieldsSet): New method. (setFields): call ensureFieldsSet. (fieldsSet): New field. * java/io/ObjectOutputStream.java (writeFields): Call osc.ensureFieldsSet(). * java/io/ObjectInputStream.java (parseContent): Assign the handle for a PROXYCLASSDESC immediately after reading the marker. From-SVN: r124187
2007-04-23re PR classpath/31646 (Arrays.sort() broken)Jeroen Frijters3-7/+12
2007-04-23 Jeroen Frijters <jeroen@frijters.net> PR classpath/31646: * java/util/Arrays.java (qsort): Corrected initial median calculation. From-SVN: r124071
2007-04-20BreakpointManager.java (newBreakpoint): Install the new breakpoint into the ↵Keith Seitz1-0/+0
bytecode. * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint): Install the new breakpoint into the bytecode. (deleteBreakpoint): Remove the breakpoint from the bytecode. * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class: Regenerate. * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native): Don't install the breakpoint here. From-SVN: r123997
2007-04-19re PR crypto/31626 (javax.net.SocketFactory#createSocket() throws ↵Tom Tromey3-0/+14
UnsupportedOperationException) libjava * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.h: Rebuilt. libjava/classpath 2007-04-19 Casey Marshall <csm@gnu.org> PR classpath/31626: * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java (createSocket): New method. From-SVN: r123977
2007-04-19libjavaTom Tromey8-16/+46
* Regenerated headers with new gjavah. libjava/classpath * tools/gnu/classpath/tools/javah/MethodHelper.java (print): Changed arguments. Directly print method name. * tools/gnu/classpath/tools/javah/ClassWrapper.java (methodNameMap): New field. (makeVtable): Initialize it. (printMethods): Compute name for bridge targets. From-SVN: r123965
2007-04-18UnicastConnectionManager.java (UnicastConnectionManager(int port, ↵Andrew Haley2-1/+13
RMIServerSocketFactory)): Listen on "localhost", not localhost. 2007-04-17 Andrew Haley <aph@redhat.com> * gnu/java/rmi/server/UnicastConnectionManager.java (UnicastConnectionManager(int port, RMIServerSocketFactory)): Listen on "localhost", not localhost. From-SVN: r123952
2007-04-17re PR awt/31311 (Quitting applet can hang X server)Francis Kung4-45/+15
2007-04-17 Francis Kung <fkung@redhat.com> PR classpath/31311 * gnu/java/awt/peer/gtk/ComponentGraphics.java (dispose): Removed method. (disposeSurface): Removed method. * gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated. * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface): Removed. (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Destroy surface after it is used to create a cairo context. From-SVN: r123928
2007-04-16Committed up-to-date .class and .h files from an earlier commitTom Tromey3-0/+0
From-SVN: r123890
2007-04-16https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236614Tom Tromey3-11/+15
* gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java (createSocket): Change order of delegation. From-SVN: r123889
2007-04-16ObjectInputStream.java: (parseContent): Call (String, Object) version of ↵Andrew Haley3-6/+55
dumpElementln. 2007-04-16 Andrew Haley <aph@redhat.com> * java/io/ObjectInputStream.java: (parseContent): Call (String, Object) version of dumpElementln. (dumpElementln(String, Object)): New method. * java/io/ObjectOutputStream.java (writeObject): Call (String, Object) version of dumpElementln. (dumpElementln(String, Object)): New method. From-SVN: r123875