aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/classpath
AgeCommit message (Collapse)AuthorFilesLines
2007-06-03libjava/classpath/ChangeLog.gcj:Matthias Klose5-53/+43
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-17natVMMethod.cc (getModifiers): Check for native classes and mark methods as ↵Kyle Galloway1-0/+7
native appropriately. 2007-05-17 Kyle Galloway <kgallowa@redhat.com> * gnu/classpath/jdwp/natVMMethod.cc (getModifiers): Check for native classes and mark methods as native appropriately. From-SVN: r124807
2007-05-17VMFrame.java (<init>): Add parameter for "this" pointer.Kyle Galloway3-5/+17
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/+3
* 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: r124778
2007-05-16java-interp.h (breakpoint_at): Declare.Keith Seitz2-5/+31
* 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-07Jdwp.class: Regenerate.Keith Seitz3-2/+11
* 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-04natVMVirtualMachine.cc (getClassMethod): Change to use JVMTI.Kyle Galloway1-5/+18
2007-05-04 Kyle Galloway <kgallowa@redhat.com> * gnu/classpath/jdwp/natVMVirtualMachine.cc (getClassMethod): Change to use JVMTI. From-SVN: r124447
2007-05-04jvmti-int.h (_Jv_ReportJVMTIExceptionThrow): Declare.Keith Seitz1-0/+57
* 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-04-28Jdwp.class: Regenerated.Keith Seitz1-1/+3
* 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-1/+14
* 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-25VMIdManager.java (getObjectId): Deal with null objects.Kyle Galloway1-1/+9
2007-04-25 Kyle Galloway <kgallowa@redhat.com> * gnu/classpath/jdwp/VMIdManager.java (getObjectId): Deal with null objects. (get): Deal with ObjectId of 0. From-SVN: r124164
2007-04-242007-04-24 Kyle Galloway <kgallowa@redhat.com>Kyle Galloway1-2/+31
* gnu/classpath/jdwp/natVMVirtualMachine.java (getThreadStatus): Implement. From-SVN: r124117
2007-04-23natVMVirtualMachine.cc (getSourceFile): Check for null source file and throw ↵Kyle Galloway1-1/+9
an exception indicating this. 2007-04-23 Kyle Galloway <kgallowa@redhat.com> * gnu/classpath/jdwp/natVMVirtualMachine.cc (getSourceFile): Check for null source file and throw an exception indicating this. From-SVN: r124066
2007-04-09ArrayValue.java: New file.Kyle Galloway2-0/+56
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-05VariableTable.java: Change longs to ints for argCnt and slots.Kyle Galloway1-2/+2
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-02interpret-run.cc: Add code to properly set up variable slots when debugging.Kyle Galloway1-7/+300
2007-04-02 Kyle Galloway <kgallowa@redhat.com> * interpret-run.cc: Add code to properly set up variable slots when debugging. * gnu/classpath/jdwp/natVMFrame.cc (checkJVMTIError): New function. (getObjectJVMTI): New function. (setObjectJVMTI): New function. (getIntJVMTI): New function. (setIntJVMTI): New function. (getLongJVMTI): New function. (setLongJVMTI): New function. (getFloatJVMTI): New function. (setFloatJVMTI): New function. (getDoubleJVMTI): New function. (setDoubleJVMTI): New function. (getFrameDepth): New function. (getValue): Implement. (setValue): Implement. From-SVN: r123427
2007-03-27VMFrame.java: Update from upstream classpath.Keith Seitz26-28/+994
* gnu/classpath/jdwp/VMFrame.java: Update from upstream classpath. * gnu/classpath/jdwp/natVMFrame.cc: Likewise. * gnu/classpath/jdwp/VMVirtualMachine.java: Likewise. * gnu/classpath/jdwp/natVMVirtualMachine.cc: Likewise. (initialize): Fix compiler type-punning warning. (getAllLoadedClasses): Return empty list instead of NULL. (getLoadRequests): Likewise. * gnu/classpath/jdwp/exception/InvalidTagException.h: New file. * gnu/classpath/jdwp/exception/InvalidSlotException.h: New file. * gnu/classpath/jdwp/exception/TypeMismatchException.h: New file. * gnu/classpath/jdwp/VMVirtualMachine.h: Rebuilt. * gnu/classpath/jdwp/value/CharValue.h: New file. * gnu/classpath/jdwp/value/LongValue.h: New file. * gnu/classpath/jdwp/value/ShortValue.h: New file. * gnu/classpath/jdwp/value/Value.h: New file. * gnu/classpath/jdwp/value/BooleanValue.h: New file. * gnu/classpath/jdwp/value/VoidValue.h: New file. * gnu/classpath/jdwp/value/ByteValue.h: New file. * gnu/classpath/jdwp/value/FloatValue.h: New file. * gnu/classpath/jdwp/value/ObjectValue.h: New file. * gnu/classpath/jdwp/value/StringValue.h: New file. * gnu/classpath/jdwp/value/ValueFactory.h: New file. * gnu/classpath/jdwp/value/IntValue.h: New file. * gnu/classpath/jdwp/value/DoubleValue.h: New file. * gnu/classpath/jdwp/VMFrame.h: Rebuilt. * gnu/classpath/jdwp/id/NullObjectId.h: New file. * gnu/classpath/jdwp/util/MethodResult.h: Rebuilt. * gnu/classpath/jdwp/util/NullObject.h: New file. * gnu/classpath/jdwp/util/MonitorInfo.h: New file. * Makefile.in: Rebuilt. * sources.am: Rebuilt. From-SVN: r123266
2007-03-13java-interp.h (_Jv_InterpClass): Declare friend function ↵Keith Seitz1-2/+2
_Jv_GetInterpClassSourceFile. * include/java-interp.h (_Jv_InterpClass): Declare friend function _Jv_GetInterpClassSourceFile. * java/lang/Class.h (Class): Likewise. * java/lang/natClass.cc (_Jv_GetInterpClassSourceFile): New function. * gnu/classpath/jdwp/natVMVirtualMachine.cc (getSourceFile): Implement. From-SVN: r122882
2007-03-13Makefile.am (AM_CXXFLAGS): Define ECJ_JAR_FILE.Thomas Fitzsimmons3-0/+15
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-06AbsentInformationException.java: New file.Kyle Galloway2-7/+125
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-02-20* gnu/classpath/jdwp/natVMVirtualMachine.ccKeith Seitz1-19/+20
(jdwpClassPrepareCB): Move class status stuff to ... (getClassStatus): ... here. From-SVN: r122164
2007-02-17* gnu/classpath/jdwp/natVMVirtualMachine.ccKeith Seitz1-0/+175
(get_line_table): New function. (handle_single_step): New function. (jdwpSingleStepCB): New function. (jdwpVMInitCB): Define a JVMTI single step callback, but don't enable it until needed. From-SVN: r122065
2007-02-16[multiple changes]Andrew Haley1-46/+0
2007-02-15 Andrew Haley <aph@redhat.com> * Makefile.am (nat_source_files): Remove java/lang/management/natVMManagementFactory.cc. * java/lang/Thread.java (getStackTrace): Use reflection to call the ManagementFactory. * java/lang/management/VMManagementFactory.java: Remove native methods. * java/lang/management/natVMManagementFactory.cc: Deleted. * sources.am: Regnerate. * scripts/makemake.tcl: Add new "bcheaders" type. Move java/lang/management and gnu/classpath/management to "bc". Move gnu/java/lang/management to "bcheaders". 2007-02-16 Andrew Haley <aph@redhat.com> * gnu/java/lang/management/MemoryMXBeanImpl.java, javax/management/MBeanServerDelegate.java: Use gnu.javax.management.ListenerData rather than gnu.classpath.ListenerData. * gnu/javax/management/ListenerData.java: Move here from gnu/classpath/ListenerData.java. From-SVN: r122041
2007-02-15PlainSocketImpl.h: Regenerate.David Daney2-30/+32
* gnu/java/net/PlainSocketImpl.h: Regenerate. * gnu/classpath/jdwp/VMVirtualMachine.h: Same. * gnu/classpath/jdwp/VMFrame.h: Same. * java/net/Socket.h: Same. * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same. From-SVN: r122006
2007-02-15natVMVirtualMachine (getFrames): Implement.Kyle Galloway1-4/+42
2007-02-15 Kyle Galloway <kgallowa@redhat.com> * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement. From-SVN: r121997
2007-02-13* gnu/classpath/jdwp/natVMVirtualMachine.ccKeith Seitz1-2/+28
(jdwpBreakpointCB): New function. (jdwpVMInitCB): Define and enable the breakpoint callback. From-SVN: r121889
2007-02-10re PR libgcj/30742 (ResourceBundle regression)Andrew Haley1-21/+29
2007-02-10 Andrew Haley <aph@redhat.com> PR java/30742 * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New. (getCallingClass): Call GET_CALLING_CLASS. (getCallingClassLoader): Likewise. From-SVN: r121798
2007-02-09* gnu/classpath/jdwp/VMVirtualMachine.javaKeith Seitz3-1/+84
(_stepping_threads): New member. * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class: Regenerated. * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated. * gnu/claspath/jdwp/natVMVirtualMachine.cc (get_request_step_filter): New function. (DISABLE_EVENT): New macro. (initialize): Initialize _stepping_threads. (registerEvent): Implement EVENT_SINGLE_STEP. (unregisterEvent): Likewise. From-SVN: r121769
2007-02-08StackFrameCommandSet.java (executeGetValues): Pass jlong instead of ByteBuffer.Kyle Galloway6-46/+145
2007-02-08 Kyle Galloway <kgallowa@redhat.com> * classpath/gnu/classpath/jdwp/processor/ StackFrameCommandSet.java (executeGetValues): Pass jlong instead of ByteBuffer. (executeSetValues): Ditto. (executeThisObject): Ditto. * classpath/gnu/classpath/jdwp/processor/ StackFrameCommandSet.class: Rebuilt. * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class: Rebuilt. * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt. * classpath/lib/gnu/classpath/jdwp/exception/ InvalidFrameException.java: New file. * gnu/classpath/jdwp/VMFrame.java: Added field for thread of frame. (Constructor): New method. * gnu/classpath/jdwp/VMFrame.h: Regenerated. * gnu/classpath/jdwp/VMVirtualMachine.java (getFrame): Changed ByteBuffer to jlong. * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrame): Implement. * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated. From-SVN: r121719
2007-02-05* gnu/classpath/jdwp/natVMVirtualMachine.ccKeith Seitz1-1/+94
(registerEvent): Implement EVENT_BREAKPOINT. (unregisterEvent): Likewise. (get_request_location): New function. From-SVN: r121608
2007-02-02natVMVirtualMachine.cc (getFrameCount): Implement.Kyle Galloway1-2/+9
2007-02-02 Kyle Galloway <kgallowa@redhat.com> * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount): Implement. From-SVN: r121504
2007-01-29jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED): Define.Keith Seitz1-8/+4
* include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED): Define. [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building gcj. All jvmti object types now are defined to be their corresponding java classes. * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from jthread to Thread*. (_Jv_JVMTI_ResumeThread): Likewise. (_Jv_JVMTI_InterruptThread): Likewise. (_Jv_JVMTI_SetEventNotificationMode): Likewise. * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpClassPrepareCB): Likewise. (jdwpThreadEndCB): Likewise. (jdwpThreadStartCB): Likewise. (jdwpVMInitCB): Likewise. From-SVN: r121296
2007-01-27* gnu/classpath/jdwp/natVMVirtualMachine.ccKeith Seitz1-14/+98
(getAllClassMethods): Move error handling to ... (throw_jvmti_error): ... here. (jdwpClassPrepareCB): New function. (jdwpThreadEndCB): New function. (jdwpThreadStartCB): New function. (jdwpVMDeathCB): New function. (jdwpVMInitCB): Define and enable callbacks for ClassPrepare, ThreadEnd, ThreadStart, and VMDeath. From-SVN: r121233
2007-01-25jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare.Keith Seitz2-6/+30
* include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare. * gnu/classpath/jdwp/natVMVirtualMachine.cc (_Jv_GetJDWP_JVMTIEnv): New function. * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement. (getSignature): Implement. (getModifiers): Implement. From-SVN: r121185
2007-01-24* gnu/classpath/jdwp/natVMVirtualMachine.ccKeith Seitz1-2/+32
(getAllClassMethods): Implement. From-SVN: r121142
2007-01-24natVMStackWalker.cc: Call InitClass everywhere.Andrew Haley1-1/+12
2007-01-24 Andrew Haley <aph@redhat.com> * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere. (getClassContext) Add a barrier to prevent GetStackWalkerStack() from being sibcalled. 2007-01-24 Andrew Haley <aph@redhat.com> * scripts/makemake.tcl (emit_bc_rule): Set the source filename. * sources.am: Rebuild. From-SVN: r121119
2007-01-23* gnu/classpath/jdwp/natVMVirtualMachine.ccKeith Seitz1-2/+8
(getClassMethod): Implement. From-SVN: r121078
2007-01-19natVMFrame.cc: Mark unused parameters with MAYBE_UNUSED.Keith Seitz1-3/+5
* gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with MAYBE_UNUSED. From-SVN: r120972
2007-01-19natVMVirtualMachine.cc: Mark unused parameters in methods and reformat.Keith Seitz1-23/+29
* gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters in methods and reformat. From-SVN: r120971
2007-01-19From Macro Trudel <mtrudel@gmx.ch>:Keith Seitz1-2/+2
* gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB): Use JNICALL. From-SVN: r120946
2007-01-16natVMVirtualMachine.cc (DEFINE_CALLBACK): New macro.Keith Seitz1-0/+25
* gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK): New macro. (ENABLE_EVENT): New macro. (initialize): Define and enable JVMTI VM_INIT callback. (jdwpVMInitCB): New function. From-SVN: r120833
2007-01-15natVMVirtualMachine.cc (suspendThread): Use java.lang.StringBuilder instead ↵Keith Seitz1-10/+8
of java.lang.StringBuffer. * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use java.lang.StringBuilder instead of java.lang.StringBuffer. (resumeThread): Likewise. From-SVN: r120805
2007-01-09Merged gcj-eclipse branch to trunk.Tom Tromey154-3/+6807
From-SVN: r120621
2006-11-02* gnu/classpath/jdwp/natVMMethod.cc (getLineTable): Implement.Keith Seitz1-2/+38
From-SVN: r118420
2006-10-11natSystemProperties.cc (insertSystemProperties): Removed obsolete comment.Tom Tromey1-1/+1
* gnu/classpath/natSystemProperties.cc (insertSystemProperties): Removed obsolete comment. From-SVN: r117626
2006-09-25* gnu/classpath/jdwp/VMVirtualMachine.javaKeith Seitz2-1/+100
(_jdwp_suspend_counts): New private variable. * gnu/classpath/jdwp/natVMVirtualMachine.cc (initialize): Initialize _jdwp_suspend_counts. (suspendThread): Implement. (resumeThread): Implement. (getSuspendCount): Implement. From-SVN: r117196
2006-08-23* gnu/classpath/jdwp/VMVirtualMachine.javaKeith Seitz2-0/+14
(initialize): Declare. * gnu/classpath/jdwp/natVMVirtualMachine.cc (initialize): Get and save JVMTI environment. From-SVN: r116357
2006-08-22re PR libgcj/27890 (lib/logging.properties pollutes common namespace)Thomas Fitzsimmons1-4/+4
2006-08-22 Thomas Fitzsimmons <fitzsim@redhat.com> PR libgcj/27890 * gnu/classpath/natSystemProperties.cc (insertSystemProperties): Set gnu.classpath.home.url to TOOLEXECLIBDIR. * configure.ac: Do not add --with-native-libdir to ac_configure_args. * java/security/libgcj.security: Remove file. * java/util/logging/logging.properties: Likewise. * classpath/m4/acinclude.m4 (CLASSPATH_TOOLEXECLIBDIR): New macro. * classpath/resource/Makefile.am (loggingdir): Define to toolexeclibdir. (securitydir): Likewise. * classpath/configure.ac: Call CLASSPATH_TOOLEXECLIBDIR. Set default nativeexeclibdir using toolexeclibdir. * HACKING: Fix classpath aclocal arguments. * Makefile.am (secdir): Remove variable. (propdir): Likewise. (AM_CXXFLAGS): Replace LIBDIR definition with TOOLEXECLIBDIR definition. (all_property_files): Remove variable. (install-data-local): Do not install libgcj.security or logging.properties. * configure, Makefile.in, classpath/configure, classpath/Makefile.in, classpath/native/jni/java-lang/Makefile.in, classpath/native/jni/midi-alsa/Makefile.in, classpath/native/jni/classpath/Makefile.in, classpath/native/jni/midi-dssi/Makefile.in, classpath/native/jni/Makefile.in, classpath/native/jni/java-nio/Makefile.in, classpath/native/jni/java-net/Makefile.in, classpath/native/jni/gconf-peer/Makefile.in, classpath/native/jni/java-io/Makefile.in, classpath/native/jni/xmlj/Makefile.in, classpath/native/jni/java-util/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/target/Linux/Makefile.in, classpath/native/target/Makefile.in, classpath/native/target/generic/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/sax/Makefile.in, classpath/external/w3c_dom/Makefile.in, classpath/external/relaxngDatatype/Makefile.in, classpath/include/Makefile.in, classpath/aclocal.m4, classpath/examples/Makefile.in, aclocal.m4: Regenerate. From-SVN: r116332
2006-08-04VMFrame.java: Update to Classpath 0.91.Keith Seitz7-46/+366
* gnu/classpath/jdwp/VMFrame.java: Update to Classpath 0.91. * gnu/classpath/jdwp/VMIdManager.java: Likewise. * gnu/classpath/jdwp/VMMethod.java: Likewise. * gnu/classpath/jdwp/VMVirtualMachine: Likewise. * gnu/classpath/jdwp/natVMFrame.java: New file. * gnu/classpath/jdwp/natVMMethod.java: New file. * gnu/classpath/jdwp/natVMVirtualMachine.java: New file. * Makefile.am (nat_source_files): Add new filles. * Makefile.in: Regenerated. From-SVN: r115934
2006-08-01natSystemProperties.cc: Add additional check for getpwuid_r on ↵Andreas Tobler1-2/+2
_POSIX_PTHREAD_SEMANTICS. 2006-08-01 Andreas Tobler <a.tobler@schweiz.ch> * gnu/classpath/natSystemProperties.cc: Add additional check for getpwuid_r on _POSIX_PTHREAD_SEMANTICS. (SystemProperties::insertSystemProperties): Likewise. * java/io/natFilePosix.cc (File::performList): Add additional check for readdir_r on _POSIX_PTHREAD_SEMANTICS. * java/util/natVMTimeZone.cc (VMTimeZone::getSystemTimeZoneId): Add additional check for localtime_r on _POSIX_PTHREAD_SEMANTICS. From-SVN: r115864