summaryrefslogtreecommitdiffstats
path: root/libjava/gnu/classpath
Commit message (Collapse)AuthorAgeFilesLines
...
* * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters withkseitz2007-01-191-3/+5
| | | | | | | MAYBE_UNUSED. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120972 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameterskseitz2007-01-191-23/+29
| | | | | | | in methods and reformat. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120971 138bc75d-0d04-0410-961f-82ee72b054a4
* From Macro Trudel <mtrudel@gmx.ch>:kseitz2007-01-191-2/+2
| | | | | | | | * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB): Use JNICALL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120946 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK):kseitz2007-01-161-0/+25
| | | | | | | | | | New macro. (ENABLE_EVENT): New macro. (initialize): Define and enable JVMTI VM_INIT callback. (jdwpVMInitCB): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120833 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Usekseitz2007-01-151-10/+8
| | | | | | | | java.lang.StringBuilder instead of java.lang.StringBuffer. (resumeThread): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120805 138bc75d-0d04-0410-961f-82ee72b054a4
* Merged gcj-eclipse branch to trunk.tromey2007-01-09154-3/+6807
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120621 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/natVMMethod.cc (getLineTable): Implement.kseitz2006-11-021-2/+38
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118420 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/natSystemProperties.cc (insertSystemProperties):tromey2006-10-111-1/+1
| | | | | | Removed obsolete comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117626 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/VMVirtualMachine.javakseitz2006-09-252-1/+100
| | | | | | | | | | | | (_jdwp_suspend_counts): New private variable. * gnu/classpath/jdwp/natVMVirtualMachine.cc (initialize): Initialize _jdwp_suspend_counts. (suspendThread): Implement. (resumeThread): Implement. (getSuspendCount): Implement. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117196 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/VMVirtualMachine.javakseitz2006-08-232-0/+14
| | | | | | | | | (initialize): Declare. * gnu/classpath/jdwp/natVMVirtualMachine.cc (initialize): Get and save JVMTI environment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116357 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>fitzsim2006-08-221-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116332 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/VMFrame.java: Update to Classpath 0.91.kseitz2006-08-047-46/+366
| | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115934 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-08-01 Andreas Tobler <a.tobler@schweiz.ch>andreast2006-08-011-2/+2
| | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115864 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-06-20 Bryce McKinlay <mckinlay@redhat.com>bryce2006-06-201-1/+1
| | | | | | | | * gnu/classpath/natSystemProperties.cc (insertSystemProperties): Bump "java.class.version" to 48.0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114831 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/javatromey2006-06-091-1/+2
| | | | | | | | | | | * gcj.texi (libgcj Runtime Properties): Document gnu.gcj.user.realname. libjava * gnu/classpath/natSystemProperties.cc (insertSystemProperties): Set gnu.gcj.user.realname. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114500 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>fitzsim2006-05-301-10/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * scripts/makemake.tcl (emit_bc_rule): Do not skip gnu-java-awt-peer-gtk.lo. Include gnu/java/awt/peer/gtk Java objects in libgcj.so. Use C++ ABI for gnu/java/awt/peer/gtk package. * gnu/classpath/natSystemProperties.cc (PrependVersionedLibdir): New function. (insertSystemProperties): Only set java.ext.dirs if it is not already defined. Prepend GCJ_VERSIONED_LIBDIR to module search path where necessary. * configure.ac (GTK_AWT): Remove automake conditional. * include/jvm.h (_Jv_PrependVersionedLibdir): New function declaration. * gij.cc (main): Prepend LD_LIBRARY_PATH with GCJ_VERSIONED_LIBDIR and re-exec self. * Makefile.am (AM_CXXFLAGS): Define GCJ_VERSIONED_LIBDIR, GIJ_EXECUTABLE and PATH_SEPARATOR macros. Remove lib-gnu-java-awt-peer-gtk.la and libgcjawt.la build logic. * prims.cc (_Jv_PrependVersionedLibdir): New function. 2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com> * native/jni/gtk-peer/Makefile.am (gcc_version): New variable. (gcjversionedlibdir): Likewise. (libgtkpeer_la_LDFLAGS): Likewise. Install libgtkpeer.so in GCJ versioned library directory. * native/jawt/Makefile.am (gcc_version): New variable. (gcjversionedlibdir): Likewise. (libjawt_la_LDFLAGS): Likewise. Rename libjawtgnu.so libjawt.so. Install libjawt.so in GCJ versioned library directory. * gnu/java/awt/peer/gtk/GdkFontPeer.java (static): Call System.loadLibrary unconditionally. * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise. * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Likewise. * gnu/java/awt/peer/gtk/GdkGraphics.java: Likewise. * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise. * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114247 138bc75d-0d04-0410-961f-82ee72b054a4
* Imported GNU Classpath 0.90mark2006-05-182-38/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * scripts/makemake.tcl: LocaleData.java moved to gnu/java/locale. * sources.am: Regenerated. * gcj/javaprims.h: Regenerated. * Makefile.in: Regenerated. * gcj/Makefile.in: Regenerated. * include/Makefile.in: Regenerated. * testsuite/Makefile.in: Regenerated. * gnu/java/lang/VMInstrumentationImpl.java: New override. * gnu/java/net/local/LocalSocketImpl.java: Likewise. * gnu/classpath/jdwp/VMMethod.java: Likewise. * gnu/classpath/jdwp/VMVirtualMachine.java: Update to latest interface. * java/lang/Thread.java: Add UncaughtExceptionHandler. * java/lang/reflect/Method.java: Implements GenericDeclaration and isSynthetic(), * java/lang/reflect/Field.java: Likewise. * java/lang/reflect/Constructor.java * java/lang/Class.java: Implements Type, GenericDeclaration, getSimpleName() and getEnclosing*() methods. * java/lang/Class.h: Add new public methods. * java/lang/Math.java: Add signum(), ulp() and log10(). * java/lang/natMath.cc (log10): New function. * java/security/VMSecureRandom.java: New override. * java/util/logging/Logger.java: Updated to latest classpath version. * java/util/logging/LogManager.java: New override. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113887 138bc75d-0d04-0410-961f-82ee72b054a4
* Imported GNU Classpath 0.90mark2006-03-101-1/+6
| | | | | | | | | | | | | | | | | | | | | * scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore. * gnu/classpath/jdwp/VMFrame.java (SIZE): New constant. * java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5. * java/lang/Math.java: New override file. * java/lang/Character.java: Merged from Classpath. (start, end): Now 'int's. (canonicalName): New field. (CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants. (UnicodeBlock): Added argument. (of): New overload. (forName): New method. Updated unicode blocks. (sets): Updated. * sources.am: Regenerated. * Makefile.in: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111942 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-02-08 Bryce McKinlay <mckinlay@redhat.com>bryce2006-02-081-3/+3
| | | | | | | | | | | | | | | | | | | | * link.cc (_Jv_Linker::print_class_loaded): Declare string constants as "const char *". * verify.cc (verify_fail): Likewise. * gnu/classpath/natSystemProperties.cc (file_encoding): Likewise. * interpret.cc (throw_internal_error, throw_class_format_error): Likewise. * gcj/javaprims.h (_Jv_hashUtf8String, _Jv_Utf8Const::space_needed, _Jv_Utf8Const::init, _Jv_makeUtf8Const): Likewise. * java/lang/Class.h (_Jv_InitPrimClass): Likewise. * include/jvm.h (_Jv_strLengthUtf8, _Jv_makeUtf8Const): Likewise. * defineclass.cc (throw_internal_error, throw_no_class_def_found_error, is_attribute_name): Likewise. * prims.cc (_Jv_strLengthUtf8, _Jv_hashUtf8String, _Jv_Utf8Const::init, _Jv_makeUtf8Const, _Jv_InitPrimClass): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110767 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libgcj/24587:tromey2005-11-081-0/+3
| | | | | | * gnu/classpath/SystemProperties.java: Set gnu.classpath.version. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106659 138bc75d-0d04-0410-961f-82ee72b054a4
* Imported Classpath 0.18.tromey2005-09-233-0/+857
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sources.am, Makefile.in: Updated. * Makefile.am (nat_source_files): Removed natProxy.cc. * java/lang/reflect/natProxy.cc: Removed. * gnu/classpath/jdwp/VMFrame.java, gnu/classpath/jdwp/VMIdManager.java, gnu/classpath/jdwp/VMVirtualMachine.java, java/lang/reflect/VMProxy.java: New files. 2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com> * scripts/makemake.tcl (verbose): Add gnu/java/awt/peer/qt to BC list. 2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com> * gnu/java/net/DefaultContentHandlerFactory.java (getContent): Remove ClasspathToolkit references. 2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com> * gnu/awt/xlib/XCanvasPeer.java: Add new peer methods. * gnu/awt/xlib/XFramePeer.java: Likewise. * gnu/awt/xlib/XGraphicsConfiguration.java: Likewise. 2005-09-23 Thomas Fitzsimmons <fitzsim@redhat.com> * Makefile.am (libgcjawt_la_SOURCES): Remove jawt.c. Add classpath/native/jawt/jawt.c. * Makefile.in: Regenerate. * jawt.c: Remove file. * include/Makefile.am (tool_include__HEADERS): Remove jawt.h and jawt_md.h. Add ../classpath/include/jawt.h and ../classpath/include/jawt_md.h. * include/Makefile.in: Regenerate. * include/jawt.h: Regenerate. * include/jawt_md.h: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104586 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-12 Thomas Fitzsimmons <fitzsim@redhat.com>fitzsim2005-09-121-2/+9
| | | | | | | | | | | | | PR libgcj/23762 * shlibpath.m4: New file. * configure.ac: If libltdl is being used call AC_LTDL_SHLIBPATH macro. * gnu/classpath/natSystemProperties.cc (insertSystemProperties) [USE_LTDL]: If it was not defined with -D set java.library.path to the value of LTDL_SHLIBPATH_VAR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104198 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-08 Thomas Fitzsimmons <fitzsim@redhat.com>fitzsim2005-09-081-1/+3
| | | | | | | | | | | | | | PR libgcj/23761 * include/java-props.h (_Jv_Module_Load_Path): Declare variable. * java/lang/natRuntime.cc (init): Call lt_dlsetsearchpath after lt_dlinit. * gnu/classpath/natSystemProperties.cc (_Jv_Module_Load_Path): Define variable. (_Jv_SetDLLSearchPath): Do not call lt_dlsetsearchpath. Set _Jv_Module_Load_Path. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104044 138bc75d-0d04-0410-961f-82ee72b054a4
* Major merge with Classpath.tromey2005-07-1645-5622/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Removed many duplicate files. * HACKING: Updated.x * classpath: Imported new directory. * standard.omit: New file. * Makefile.in, aclocal.m4, configure: Rebuilt. * sources.am: New file. * configure.ac: Run Classpath configure script. Moved code around to support. Disable xlib AWT peers (temporarily). * Makefile.am (SUBDIRS): Added 'classpath' (JAVAC): Removed. (AM_CPPFLAGS): Added more -I options. (BOOTCLASSPATH): Simplified. Completely redid how sources are built. Include sources.am. * include/Makefile.am (tool_include__HEADERS): Removed jni.h. * include/jni.h: Removed (in Classpath). * scripts/classes.pl: Updated to look at built classes. * scripts/makemake.tcl: New file. * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Added -I options. (gcj_jni_invocation_compile_c_to_binary): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102082 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java:aluchko2005-07-141-0/+474
| | | | | | | Implemented VirtualMachine Command Set. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102026 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/processor/FieldCommandSet.java:aluchko2005-07-122-0/+133
| | | | | | | | | Implemented the Field CommandSet. * gnu/classpath/jdwp/processor/InterfaceTypeCommandSet.java: Implemented the InterfaceType CommandSet. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101951 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/processor/PacketProcessor.java (run): Sendaluchko2005-07-121-2/+3
| | | | | | | shutdown to jdwp instead of connection. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101936 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java:aluchko2005-07-121-0/+249
| | | | | | | New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101935 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/util/Signature.javaaluchko2005-07-071-0/+14
| | | | | | | (computeFieldSignature): New Method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101745 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java:Newaluchko2005-07-071-0/+321
| | | | | | | file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101730 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/processor/StringReferenceCommandSet.java:aluchko2005-07-051-0/+98
| | | | | | | New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101628 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/processor/CommandSet.java: New file.aluchko2005-07-043-33/+189
| | | | | | | | | | * gnu/classpath/jdwp/processor/PacketProcessor.java: Use CommandSets to handle JdwpCommandPackets. * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New Constructor. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101601 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/util/JdwpString.java: New file.aluchko2005-06-301-0/+95
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101482 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/transport/JdwpPacket.java (write): New method.kseitz2005-06-304-50/+40
| | | | | | | | | | | | | | | (myWrite): New abstract method. (toBytes): Remove. (myToBytes): Remove. * gnu/classpath/jdwp/transport/JdwpReplyPacket.java (myWrite): New method. * gnu/classpath/jdwp/transport/JdwpCommandPacket.java (myWrite): New method. * gnu/classpath/jdwp/transport/JdwpConnection.java (sendPacket): Use JdwpPacket.write instead of JdwpPacket.toBytes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101472 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/transport/JdwpConnection.java (sendEvent): Newkseitz2005-06-301-2/+36
| | | | | | | | | | method. (_bytes): New member. (_doStream): New member. (JdwpConnection): Initialize new members. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101471 138bc75d-0d04-0410-961f-82ee72b054a4
* Update FSF addresskcook2005-06-3038-76/+76
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101453 138bc75d-0d04-0410-961f-82ee72b054a4
* Okay, let's see if CVS can actually put these in the right place...kseitz2005-06-2711-0/+697
| | | | | | | | | | | | | | | | | | | | * gnu/classpath/jdwp/exception/VmDeadException.java: New file. * gnu/classpath/jdwp/exception/NotImplementedException.java: New file. * gnu/classpath/jdwp/exception/JdwpInternalErrorException.java: New file. * gnu/classpath/jdwp/exception/JdwpException.java: New file. * gnu/classpath/jdwp/exception/InvalidThreadGroupException.java: New file. * gnu/classpath/jdwp/exception/InvalidThreadException.java: New file. * gnu/classpath/jdwp/exception/InvalidStringException.java: New file * gnu/classpath/jdwp/exception/InvalidObjectException.java: New file. * gnu/classpath/jdwp/exception/InvalidEventTypeException.java: New file. * gnu/classpath/jdwp/exception/InvalidCountException.java: New file. * gnu/classpath/jdwp/exception/InvalidClassException.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101357 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/id/JdwpIdFactory.java: New file.kseitz2005-06-152-0/+303
| | | | | | | * gnu/classpath/jdwp/processor/PacketProcessor.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100970 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/id/ArrayId.java: New file.kseitz2005-06-1412-0/+866
| | | | | | | | | | | | | | | | | * gnu/classpath/jdwp/id/ArrayReferenceTypeId.java: New file. * gnu/classpath/jdwp/id/ClassLoaderId.java: New file. * gnu/classpath/jdwp/id/ClassObjectId.java: New file. * gnu/classpath/jdwp/id/ClassReferenceTypeId.java: New file. * gnu/classpath/jdwp/id/InterfaceReferenceTypeId.java: New file. * gnu/classpath/jdwp/id/JdwpId.java: New file. * gnu/classpath/jdwp/id/ObjectId.java: New file. * gnu/classpath/jdwp/id/ReferenceTypeId.java: New file. * gnu/classpath/jdwp/id/StringId.java: New file. * gnu/classpath/jdwp/id/ThreadGroupId.java: New file. * gnu/classpath/jdwp/id/ThreadId.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100913 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/transport/JdwpConnection.java: New file.kseitz2005-06-071-0/+265
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100688 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/util/Signature.java: New file.kseitz2005-06-071-0/+135
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100687 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/transport/TransportFactory.java: New file.kseitz2005-06-031-0/+115
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100556 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/transport/ITransport.java: New file.kseitz2005-06-032-0/+255
| | | | | | | * gnu/classpath/jdwp/transport/SocketTransport.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100553 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/transport/TransportException.java: New file.kseitz2005-06-021-0/+75
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100496 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typo in initial commit.kseitz2005-06-011-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100464 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/classpath/jdwp/transport/JdwpPacket.java: New file.kseitz2005-06-013-0/+562
| | | | | | | | * gnu/classpath/jdwp/transport/JdwpCommandPacket.java: New file. * gnu/classpath/jdwp/transport/JdwpReplyPacket.java: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100463 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-04-25 Archie Cobbs <archie@dellroad.org>mkoch2005-04-252-0/+544
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/lang/Throwable.java: simplify initializing cause in constructor 2005-04-25 Michael Koch <konqueror@gmx.de> * gnu/classpath/SystemProperties.java: New file. * gnu/classpath/natSystemProperties.cc: New file. * java/lang/Runtime.java (defaultProperties): Removed. (static): Likewise. (): Made thrown exceptions more verbose. (insertSystemProperties): Removed. * java/lang/System.java (static): Likewise. (properties): Likewise. (setSecurityManager): Reordered modifiers. (getenv): Improved javadoc. (): Likewise. (isWordsBigEndian): Removed. * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): Likewise. (file_encoding): Likewise. (default_file_encoding): Likewise. (getpwuid_adaptor): Likewise. (insertSystemProperties): Likewise. * java/lang/natSystem.cc (isWordsBigEndian): Likewise. * Makefile.am (ordinary_java_source_files): Added gnu/classpath/SystemProperties.java. (nat_source_files): Added gnu/classpath/natSystemProperties.cc. * Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98734 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-03-10 Bryce McKinlay <mckinlay@redhat.com>bryce2005-03-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New Stack Trace infrastructure. * Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc. (gnu/gcj/runtime/StackTrace.lo): Removed. (ordinary_java_source_files): Remove obsolete files. (nat_source_files): Remove obsolete files. Add natVMThrowable.cc. * configure.host (fallback_backtrace_h): Set backtrace header for mingw and cygwin targets. * configure.ac: Make symlink for fallback backtrace headers. * Makefile.in, configure: Rebuilt. * defineclass.cc (_Jv_ClassReader::read_one_code_attribute): Read 'LineNumberTable' attribute. (_Jv_ClassReader::read_one_class_attribute): Read 'SourceFile' attribute. (_Jv_ClassReader::handleCodeAttribute): Initialize method line table fields. * exception.cc: Remove unused include. * interpret.cc (DIRECT_THREADED, insn_slot): Moved to java-interp.h. (SAVE_PC): New macro. Save current PC in the interpreter frame. (NULLCHECK, NULLARRAYCHECK): Use SAVE_PC. (_Jv_InterpMethod::compile): Translate bytecode PC values in the line table to direct threaded instruction values. (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Removed. (_Jv_InterpMethod::run): No longer member function. All callers updated. Remove _Unwind calls. Call SAVE_PC whenever a call is made or where an instruction could throw. (_Jv_InterpMethod::get_source_line): New. Look up source line numbers in line_table. * prims.cc (catch_segv): Construct exception after MAKE_THROW_FRAME. (catch_fpe): Likewise. * stacktrace.cc: New file. Stack trace code now here. * gnu/gcj/runtime/MethodRef.java: * gnu/gcj/runtime/NameFinder.java: Mostly reimplemented. Now simply calls addr2line to look up PC addresses in a given binary or shared library. * gnu/gcj/runtime/StackTrace.java, gnu/gcj/runtime/natNameFinder.cc, gnu/gcj/runtime/natStackTrace.cc: Removed. * gnu/java/lang/MainThread.java (call_main): Add comment warning that this function name is specially recognised by the stack trace code and shouldn't be changed. * include/java-interp.h (DIRECT_THREADED, insn_slot): Moved here. (struct _Jv_LineTableEntry, line_table, line_table_len): New. (_Jv_InterpMethod::run): Update declaration. (_Jv_StackTrace_): New friend. NameFinder and StackTrace no longer friends. (_Jv_InterpFrame): Renamed from _Jv_MethodChain. Add PC field. * include/java-stack.h: New file. Declarations for stack tracing. * include/jvm.h (_Jv_Frame_info): Removed. * java/lang/Class.h: Update friend declarations. * java/lang/VMClassLoader.java (getSystemClassLoader): Simplify exception message. * java/lang/VMThrowable.java (fillInStackTrace): Now native. (getStackTrace): Now native. (data): New RawDataManaged field. * java/lang/natClass.cc: Update includes. (forName): Use _Jv_StackTrace::GetCallingClass for calling-classloader check. (getClassLoader): Likewise. * java/lang/natRuntime.cc: Update includes. (_load): Use _Jv_StackTrace::GetFirstNonSystemClassLoader. * java/lang/natVMSecurityManager.cc: Update includes. (getClassContext): Use _Jv_StackTrace::GetClassContext. * java/lang/natVMThrowable.cc: New file. Native methods for VMThrowable. * java/lang/reflect/natArray.cc: Update includes. (newInstance): Use _Jv_StackTrace::GetCallingClass to implement accessibility check. * java/lang/reflect/natConstructor.cc: Update includes. (newInstance): Use _Jv_StackTrace::GetCallingClass to implement accessibility check. * java/lang/reflect/natField.cc: Update includes. (getAddr): Use _Jv_StackTrace::GetCallingClass to implement accessibility check. * java/lang/reflect/natMethod.cc: Update includes. (invoke): Use _Jv_StackTrace::GetCallingClass to implement accessibility check. * java/util/natResourceBundle.cc: Update includes. (getCallingClassLoader): Use _Jv_StackTrace::GetCallingClass. * java/util/logging/natLogger.cc: Update includes. Use _Jv_StackTrace::GetCallerInfo to get call-site info. * sysdep/generic/backtrace.h: Fallback backtrace code. Stub implementation. * sysdep/i386/backtrace.h: New. Fallback backtrace code. i386 implementation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96253 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Nowtromey2004-11-061-1/+2
| | | | | | | | | | | | | | | package-private. (connections): Likewise. (scavenger): Likewise. * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now package-private. * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now package-private. (ptr): Likewise. * gnu/classpath/ServiceFactory.java (log): Now package-private. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90206 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-05-03 Tom Tromey <tromey@redhat.com>mkoch2004-05-031-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/net/URLStreamHandler.java (toExternalForm): Removed unused variables. unused constructor. * java/math/BigDecimal.java (divide): Removed unused variable. * java/lang/Throwable.java: Cleaned up imports. * java/lang/ClassLoader.java: Cleaned up imports. * java/io/FilePermission.java (implies): Removed unused variable. * java/awt/TextComponent.java: Removed unused import. * gnu/java/util/prefs/NodeReader.java: Cleaned up imports. * gnu/java/util/DoubleEnumeration.java: Removed unused import. * gnu/java/text/WordBreakIterator.java: Removed unused import. * gnu/java/text/SentenceBreakIterator.java: Removed unused import. * gnu/java/text/LineBreakIterator.java: Removed unused import. * gnu/java/text/CharacterBreakIterator.java: Removed unused import. * gnu/java/security/provider/DSAKeyPairGenerator.java: Cleaned up imports. * gnu/java/security/der/DERWriter.java: Cleaned up imports. * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed unused method. * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports. * gnu/java/nio/FileLockImpl.java: Cleaned up imports. * gnu/java/io/Base64InputStream.java: Cleaned up imports. * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports. * gnu/classpath/ServiceFactory.java: Cleaned up imports. (lookupProviders): Removed unused variable. (loadNextServiceProvider): Likewise. * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81450 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud