aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath/lib
AgeCommit message (Collapse)AuthorFilesLines
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 Tromey1473-0/+0
From-SVN: r126663
2007-06-20Update from classpath trunk:Keith Seitz1-0/+0
* 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-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-03libjava/classpath/ChangeLog.gcj:Matthias Klose1786-529/+54
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-172007-05-17 Kyle Galloway <kgallowa@redhat.com>Kyle Galloway1-0/+0
* 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-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-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-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 Kung1-0/+0
* 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 Seitz2-0/+0
* 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 Seitz3-0/+0
* 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 Fitzsimmons2-0/+0
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 Haley11-0/+0
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 Frijters1-0/+0
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 Tromey1-0/+0
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 Tromey3-0/+0
* 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-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 Tromey1-0/+0
* gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java (createSocket): Change order of delegation. From-SVN: r123889
2007-04-162007-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>Andrew John Hughes1-0/+0
* javax/management/ObjectName.java: (parse(String)): Catch multiple wildcards, initialise with an empty string (so null isn't appended), and emit comma even when wildcard ends the list. (checkComponents()): Catch newlines. (quote(String)): Handle newlines and quotes correctly. From-SVN: r123873
2007-04-16BootClassLoader.java (getBootURLLoader): New method.Andrew Haley1-0/+0
2007-04-16 Andrew Haley <aph@redhat.com> * gnu/gcj/runtime/BootClassLoader.java (getBootURLLoader): New method. (bootGetResource): Use getBootURLLoader() to load resources. (bootGetResources): Likewise. * java/lang/reflect/natMethod.cc (Method::invoke): In invoke also check that the method's declaring class is accessible. From-SVN: r123867
2007-04-16TaggedComponentHelper.java (read): Use read_octet_array(), not read().Andrew Haley3-0/+0
2007-04-16 Andrew Haley <aph@redhat.com> * org/omg/IOP/TaggedComponentHelper.java (read): Use read_octet_array(), not read(). (write): Use write_octet_array(), not write(). * org/omg/PortableServer/Servant.java (_get_delegate): Throw if no delegate has been set. * javax/management/ObjectName.java serialVersionUID: Declare. Make all fields transient. (parse): Break out from constructor. (writeObject, readObject): New methods. From-SVN: r123865
2007-04-09ArrayValue.java: New file.Kyle Galloway1-0/+0
2007-04-09 Kyle Galloway <kgallowa@redhat.com> * classpath/gnu/classpath/jdwp/value/ArrayValue.java: New file. * classpath/lib/gnu/classpath/jdwp/value/ArrayValue.class: New file. * gnu/classpath/jdwp/ArrayValue.h: New file. * gnu/classpath/jdwp/natVMFrame.cc (getValue): Add array case. (setValue): Ditto. From-SVN: r123680
2007-04-05DecimalFormatSymbols.java: Added the year 2007 to Copyright information and ↵Tania Bento2-0/+0
introduced new variable, currency. 2007-04-04 Tania Bento <tbento@redhat.com> * java/text/DecimalFormatSymbols.java: Added the year 2007 to Copyright information and introduced new variable, currency. (DecimalFormatSymbols(Locale)): Define currency and intlCurrencySymbol to "XXX", currencySymbol to "?" and localCurrency appropriately. (getCurrency): Fixed documentation and return the value of currency. (setCurrency): Fixed documentation and update the value of currency. (setInternationalCurrencySymbol): Fixed documentation and update the value of currency. * java/util/Currency.java: Introduced two new variables, properties and fractionDigits. In the static block, a properties object is created and the currency resource is loaded. (Currency(Locale)): fractionDigits is defined. (Currency(String)): New method. (getDefaultFractionDigits): Return the value of fractionDigits. (getInstance(String)): Check if String is equal to "XXX". From-SVN: r123512
2007-04-05VariableTable.java: Change longs to ints for argCnt and slots.Kyle Galloway1-0/+0
2007-04-04 Kyle Galloway <kgallowa@redhat.com> * classpath/gnu/classpath/jdwp/util/VariableTable.java: Change longs to ints for argCnt and slots. (write): Replace writeLong with writeInt for the above. From-SVN: r123511
2007-04-02natPlainSocketImplPosix.cc (create): Return if already created.Tom Tromey6-0/+0
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=233406 * gnu/java/net/natPlainSocketImplPosix.cc (create): Return if already created. * gnu/java/net/PlainSocketImpl.java (getLocalAddress): Handle case where localport is -1. (create): Now public. * gnu/java/nio/SocketChannelImpl.java (SocketChannelImpl): Call 'create' on the socket. From-SVN: r123440
2007-04-02[multiple changes]Andrew Haley2-0/+0
2007-03-30 Andrew Haley <aph@redhat.com> * javax/management/ObjectName.java: Handle 0-length names. 2007-03-27 Andrew Haley <aph@redhat.com> * javax/management/MBeanServerFactory.java: Use the domain that we've been passed, not the fixed string "DefaultDomain". From-SVN: r123430
2007-04-022007-04-02 Kyle Galloway <kgallowa@redhat.com>Kyle Galloway1-0/+0
* classpath/gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java (executeResume): Call VMVirtualMachine.resumeThread. From-SVN: r123426
2007-03-30re PR libgcj/29869 (LogManager class loading failure with Tomcat)Tom Tromey3-0/+0
libjava PR libgcj/29869: * java/util/logging/LogManager.java (readConfiguration): Handle comma-separated 'handlers'. Don't try to add a non-existing handler. libgcj/classpath PR libgcj/29869: * gnu/java/util/jar/JarUtils.java (log): Commented out. (readSFManifest): Don't log. From-SVN: r123356
2007-03-28ClientHandshake.java (RSAGen.implRun): check keyEncipherment bit of the ↵Casey Marshall2-0/+0
certificate... 2007-03-28 Casey Marshall <csm@gnu.org> * gnu/javax/net/ssl/provider/ClientHandshake.java (RSAGen.implRun): check keyEncipherment bit of the certificate, and just pass the public key to the cipher. From-SVN: r123307
2007-03-28sources.am, [...]: Rebuilt.Tom Tromey2-0/+0
* sources.am, Makefile.in: Rebuilt. * scripts/mime.types: Removed. * scripts/MakeDefaultMimeTypes.java: Removed. * gnu/gcj/io/MimeTypes.java: Removed. * gnu/gcj/io/MimeTypes.h: Removed. * gnu/gcj/io/DefaultMimeTypes.java: Removed. * gnu/gcj/io/DefaultMimeTypes.h: Removed. From-SVN: r123288
2007-03-28re PR classpath/31302 (Exception in SSLSocketImpl)Casey Marshall1-0/+0
2007-03-27 Casey Marshall <csm@gnu.org> PR classpath/31302: * gnu/javax/net/ssl/provider/SSLSocketImpl.java (SSLSocketImpl): Always make a new socket. (bind, connect, getInetAddress, getLocalAddress, getPort, getLocalPort, getRemoteSocketAddress, getLocalSocketAddress, setTcpNoDelay, getTcpNoDelay, setSoLinger, getSoLinger, setOOBInline, getOOBInline, setSoTimeout, getSoTimeout, setSendBufferSize, getSendBufferSize, setReceiveBufferSize, getReceiveBufferSize, setKeepAlive, getKeepAlive, setTrafficClass, getTrafficClass, setReuseAddress, getReuseAddress, close, shutdownInput, shutdownOutput, isConnected, isBound, isClosed, isInputShutdown, isOutputShutdown): Always use 'underlyingSocket'. From-SVN: r123285
2007-03-27re PR xml/31303 (SAXException: org.xml.sax.driver property needs to be set?)Tom Tromey1-0/+0
PR classpath/31303: * external/sax/org/xml/sax/helpers/XMLReaderFactory.java (createXMLReader): Code in Classpath default. From-SVN: r123267
2007-03-27Classpath JDWP merge with upstreamKeith Seitz33-0/+0
From-SVN: r123265
2007-03-19configure.ac: New configure option --enable-generated-files-in-srcdir.Matthias Klose1-0/+2
2007-03-10 Matthias Klose <doko@ubuntu.com> * configure.ac: New configure option --enable-generated-files-in-srcdir. * doc/Makefile.am: Add support to generate files in srcdir, install the cp-tools documentation in info format. * configure: Regenerate. * native/jni/classpath/Makefile.in, native/jni/midi-dssi/Makefile.in, native/jni/Makefile.in, native/jni/gconf-peer/Makefile.in, native/jni/java-io/Makefile.in, native/jni/native-lib/Makefile.in, native/jni/java-util/Makefile.in, native/jni/java-lang/Makefile.in, native/jni/midi-alsa/Makefile.in, native/jni/java-nio/Makefile.in, native/jni/java-net/Makefile.in, native/jni/xmlj/Makefile.in, native/jni/qt-peer/Makefile.in, native/jni/gtk-peer/Makefile.in, native/Makefile.in, native/jawt/Makefile.in, native/fdlibm/Makefile.in, native/plugin/Makefile.in, resource/Makefile.in, scripts/Makefile.in, tools/Makefile.in, doc/Makefile.in, doc/api/Makefile.in, lib/Makefile.in, external/Makefile.in, external/sax/Makefile.in, external/w3c_dom/Makefile.in, external/jsr166/Makefile.in, external/relaxngDatatype/Makefile.in, include/Makefile.in, examples/Makefile.in: Regenerate. From-SVN: r123050
2007-03-172007-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons1-2/+0
* resource/com/sun/tools/javac/messages.properties (Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify messages for when --with-ecj-jar is not specified. * configure.ac (FOUND_ECJ_JAR): Remove conditional. * tools/Makefile.am: Build com.sun.tools.javac package unconditionally. * configure, doc/api/Makefile.in, doc/Makefile.in, examples/Makefile.in, external/jsr166/Makefile.in, external/Makefile.in, external/relaxngDatatype/Makefile.in, external/sax/Makefile.in, external/w3c_dom/Makefile.in, include/Makefile.in, lib/Makefile.in, Makefile.in, native/fdlibm/Makefile.in, native/jawt/Makefile.in, native/jni/classpath/Makefile.in, native/jni/gconf-peer/Makefile.in, native/jni/gtk-peer/Makefile.in, native/jni/java-io/Makefile.in, native/jni/java-lang/Makefile.in, native/jni/java-net/Makefile.in, native/jni/java-nio/Makefile.in, native/jni/java-util/Makefile.in, native/jni/Makefile.in, native/jni/midi-alsa/Makefile.in, native/jni/midi-dssi/Makefile.in, native/jni/native-lib/Makefile.in, native/jni/qt-peer/Makefile.in, native/jni/xmlj/Makefile.in, native/Makefile.in, native/plugin/Makefile.in, resource/Makefile.in, scripts/Makefile.in, tools/Makefile.in: Regenerate. * tools/classes/com/sun/tools/javac: New directory. * tools/classes/com/sun/tools/javac/Main.class, tools/classes/com/sun/tools/javac/Messages.class: New files. From-SVN: r123015
2007-03-13Makefile.am (AM_CXXFLAGS): Define ECJ_JAR_FILE.Thomas Fitzsimmons2-0/+3
2007-03-13 Thomas Fitzsimmons <fitzsim@redhat.com> * Makefile.am (AM_CXXFLAGS): Define ECJ_JAR_FILE. * classpath/configure.ac: Add --with-ecj-jar configure option. * classpath/gnu/classpath/Configuration.java.in (ECJ_JAR): New field. * classpath/INSTALL: Document --with-ecj-jar configure option and ecj jar requirement for com.sun.tools.javac support. * classpath/tools/Makefile.am: Build decendents of com and sun directories. * configure.ac: Substitute ECJ_JAR in stub Configuration.java. * gnu/classpath/Configuration.java, gnu/classpath/natConfiguration.cc (ecj): New method. (ECJ_JAR): New field. * scripts/makemake.tcl (scan_packages): Add com directory. * sources.am (property_files): Add classpath/resource/sun/rmi/rmic/messages.properties and classpath/resource/com/sun/tools/javac/messages.properties. * classpath/resource/com, classpath/resource/com/sun, classpath/resource/com/sun/tools, classpath/resource/com/sun/tools/javac, classpath/resource/sun, classpath/resource/sun/rmi, classpath/resource/sun/rmi/rmic, classpath/tools/classes/com, classpath/tools/classes/com/sun, classpath/tools/classes/com/sun/javadoc, classpath/tools/classes/com/sun/tools, classpath/tools/classes/com/sun/tools/doclets, classpath/tools/classes/sun, classpath/tools/classes/sun/rmi, classpath/tools/classes/sun/rmi/rmic, classpath/tools/com, classpath/tools/com/sun, classpath/tools/com/sun/javadoc, classpath/tools/com/sun/tools, classpath/tools/com/sun/tools/doclets, classpath/tools/com/sun/tools/javac, classpath/tools/sun, classpath/tools/sun/rmi, classpath/tools/sun/rmi/rmic: New directories. * classpath/resource/com/sun/tools/javac/messages.properties, classpath/resource/sun/rmi/rmic/messages.properties, classpath/tools/classes/com/sun/javadoc/ClassDoc.class, classpath/tools/classes/com/sun/javadoc/ConstructorDoc.class, classpath/tools/classes/com/sun/javadoc/Doc.class, classpath/tools/classes/com/sun/javadoc/DocErrorReporter.class, classpath/tools/classes/com/sun/javadoc/Doclet.class, classpath/tools/classes/com/sun/javadoc/ExecutableMemberDoc.class, classpath/tools/classes/com/sun/javadoc/FieldDoc.class, classpath/tools/classes/com/sun/javadoc/MemberDoc.class, classpath/tools/classes/com/sun/javadoc/MethodDoc.class, classpath/tools/classes/com/sun/javadoc/PackageDoc.class, classpath/tools/classes/com/sun/javadoc/ParamTag.class, classpath/tools/classes/com/sun/javadoc/Parameter.class, classpath/tools/classes/com/sun/javadoc/ProgramElementDoc.class, classpath/tools/classes/com/sun/javadoc/RootDoc.class, classpath/tools/classes/com/sun/javadoc/SeeTag.class, classpath/tools/classes/com/sun/javadoc/SerialFieldTag.class, classpath/tools/classes/com/sun/javadoc/SourcePosition.class, classpath/tools/classes/com/sun/javadoc/Tag.class, classpath/tools/classes/com/sun/javadoc/ThrowsTag.class, classpath/tools/classes/com/sun/javadoc/Type.class, classpath/tools/classes/com/sun/javadoc/TypeVariable.class, classpath/tools/classes/com/sun/tools/doclets/Taglet.class, classpath/tools/classes/sun/rmi/rmic/Main.class, classpath/tools/classes/sun/rmi/rmic/Messages.class, classpath/tools/com/sun/javadoc/ClassDoc.java, classpath/tools/com/sun/javadoc/ConstructorDoc.java, classpath/tools/com/sun/javadoc/Doc.java, classpath/tools/com/sun/javadoc/DocErrorReporter.java, classpath/tools/com/sun/javadoc/Doclet.java, classpath/tools/com/sun/javadoc/ExecutableMemberDoc.java, classpath/tools/com/sun/javadoc/FieldDoc.java, classpath/tools/com/sun/javadoc/MemberDoc.java, classpath/tools/com/sun/javadoc/MethodDoc.java, classpath/tools/com/sun/javadoc/PackageDoc.java, classpath/tools/com/sun/javadoc/ParamTag.java, classpath/tools/com/sun/javadoc/Parameter.java, classpath/tools/com/sun/javadoc/ProgramElementDoc.java, classpath/tools/com/sun/javadoc/RootDoc.java, classpath/tools/com/sun/javadoc/SeeTag.java, classpath/tools/com/sun/javadoc/SerialFieldTag.java, classpath/tools/com/sun/javadoc/SourcePosition.java, classpath/tools/com/sun/javadoc/Tag.java, classpath/tools/com/sun/javadoc/ThrowsTag.java, classpath/tools/com/sun/javadoc/Type.java, classpath/tools/com/sun/javadoc/TypeVariable.java, classpath/tools/com/sun/tools/doclets/Taglet.java, classpath/tools/com/sun/tools/javac/Main.java, classpath/tools/com/sun/tools/javac/Messages.java, classpath/tools/sun/rmi/rmic/Main.java, classpath/tools/sun/rmi/rmic/Messages.java: New files. * Makefile.in, classpath/Makefile.in, classpath/configure, classpath/doc/Makefile.in, classpath/doc/api/Makefile.in, classpath/examples/Makefile.in, classpath/external/Makefile.in, classpath/external/jsr166/Makefile.in, classpath/external/relaxngDatatype/Makefile.in, classpath/external/sax/Makefile.in, classpath/external/w3c_dom/Makefile.in, classpath/include/Makefile.in, classpath/include/config.h.in, classpath/lib/Makefile.in, classpath/lib/gnu/classpath/Configuration.class, classpath/native/Makefile.in, classpath/native/fdlibm/Makefile.in, classpath/native/jawt/Makefile.in, classpath/native/jni/Makefile.in, classpath/native/jni/classpath/Makefile.in, classpath/native/jni/gconf-peer/Makefile.in, classpath/native/jni/gtk-peer/Makefile.in, classpath/native/jni/java-io/Makefile.in, classpath/native/jni/java-lang/Makefile.in, classpath/native/jni/java-net/Makefile.in, classpath/native/jni/java-nio/Makefile.in, classpath/native/jni/java-util/Makefile.in, classpath/native/jni/midi-alsa/Makefile.in, classpath/native/jni/midi-dssi/Makefile.in, classpath/native/jni/native-lib/Makefile.in, classpath/native/jni/qt-peer/Makefile.in, classpath/native/jni/xmlj/Makefile.in, classpath/native/plugin/Makefile.in, classpath/resource/Makefile.in, classpath/scripts/Makefile.in, classpath/tools/Makefile.in, configure, gnu/classpath/Configuration.h: Regenerate. From-SVN: r122876
2007-03-09re PR xml/30831 (Writing (transforming) XML fails)Gary Benson1-0/+0
2007-03-09 Gary Benson <gbenson@redhat.com> Chris Burdess <dog@gnu.org> PR classpath/30831 * gnu/xml/dom/ls/SAXEventSink.java: Only set extended document properties when reader is available. Co-Authored-By: Chris Burdess <dog@gnu.org> From-SVN: r122743
2007-03-08re PR xml/30983 (DocumentBuilder.parse throws exception)Gary Benson1-0/+0
2007-03-08 Gary Benson <gbenson@redhat.com> PR classpath/30983: * gnu/xml/dom/ls/DomLSParser.java (getInputSource): Do not use the entity resolver to resolve the top-level document. From-SVN: r122700
2007-03-07Win32Process.java: Added nested class EOFInputStream.Mohan Embar2-0/+0
* java/lang/Win32Process.java: Added nested class EOFInputStream. * java/lang/natWin32Process.cc (ChildProcessPipe): Added DUMMY enum and implementation. (startProcess): Use redirect flag. * classpath/lib/java/lang/Win32Process.class: Regenerated. * classpath/lib/java/lang/Win32Process$EOFInputStream.class: New. * gcj/javaprims.h: Regenerated. * java/lang/Win32Process$EOFInputStream.h: New. From-SVN: r122668
2007-03-06AbsentInformationException.java: New file.Kyle Galloway1-0/+0
2007-03-06 Kyle Galloway <kgallowa@redhat.com> * classpath/gnu/classpath/jdwp/exception/AbsentInformationException.java: New file. * classpath/lib/gnu/classpath/jdwp/exception/AbsentInformationException.class: Ditto. * gnu/classpath/jdwp/exception/AbsentInformationException.h: Ditto. * gnu/classpath/jdwp/natVMMethod.cc: Add CHECK_INTERP_CLASS macro. (VMMethod::getLineTable): Use new macro. (VMMethod::getVariableTable): Implement. * sources.am: Regenerated. * Makefile.in: Ditto. From-SVN: r122639
2007-03-05Character.java: Re-merged with Classpath.Mark Wielaard8-0/+0
2007-03-05 Mark Wielaard <mark@klomp.org> * java/lang/Character.java: Re-merged with Classpath. * java/lang/natString.cc (nativeCompareTo): Renamed from compareTo. * java/lang/StringBuilder.java: Re-merged with Classpath. * java/lang/String.java: Re-merged with Classpath. (nativeCompareTo): Renamed from compareTo. * java/lang/StringBuffer.java: Re-merged with Classpath. * jni.cc (_Jv_JNI_GetAnyMethodID): Split calls to append. From-SVN: r122560