aboutsummaryrefslogtreecommitdiff
path: root/libjava/include
AgeCommit message (Collapse)AuthorFilesLines
2003-01-28configure.in: Specifically define HAVE_BACKTRACE if building for MinGW.Ranjit Mathew1-2/+0
2003-01-27 Ranjit Mathew <rmathew@hotmail.com> * configure.in: Specifically define HAVE_BACKTRACE if building for MinGW. * include/win32.h: Remove HAVE_BACKTRACE definition. * gnu/gcj/runtime/natStackTrace.cc: Include platform.h. * configure: Rebuilt. From-SVN: r62000
2003-01-24defineclass.cc (handleMethodsEnd): Precompute code for static method.Tom Tromey1-1/+2
* defineclass.cc (handleMethodsEnd): Precompute code for static method. (handleCodeAttribute): Likewise. * resolve.cc (ncode): Use run_class for unsynchronized static methods. * include/java-interp.h (class _Jv_InterpMethod): Declare run_class. * interpret.cc (run_synch_class): Initialize class. (run) [insn_invokestatic]: Don't initialize class. [insn_anewarray]: Likewise. [insn_multianewarray]: Likewise. (run_class): New function. From-SVN: r61727
2003-01-22x86_64-signal.h: Add simple handler for x86_64 32-bit mode.Andrew Haley1-1/+14
2003-01-22 Andrew Haley <aph@redhat.com> * x86_64-signal.h: Add simple handler for x86_64 32-bit mode. * configure.host (CHECKREFSPEC): Define for x86_64. From-SVN: r61600
2003-01-14dwarf2-signal.h: Remove x86_64.Andrew Haley1-3/+0
2003-01-10 Andrew Haley <aph@redhat.com> * include/dwarf2-signal.h: Remove x86_64. * configure.host (x86_64 DIVIDESPEC): Remove. * include/x86_64-signal.h: New file. * configure.in: Regenerate. From-SVN: r61285
2003-01-14dwarf2-signal.h: Remove x86_64.Andrew Haley1-0/+83
2003-01-10 Andrew Haley <aph@redhat.com> * include/dwarf2-signal.h: Remove x86_64. * configure.host (x86_64 DIVIDESPEC): Remove. * include/x86_64-signal.h: New file. * configure.in: Regenerate. From-SVN: r61284
2003-01-07posix.h (_Jv_platform_usleep): Wrap in ifdef JV_HASH_SYNCHRONIZATION.Tom Tromey2-1/+5
* include/posix.h (_Jv_platform_usleep): Wrap in ifdef JV_HASH_SYNCHRONIZATION. * include/win32.h (_Jv_platform_usleep): Wrap in ifdef JV_HASH_SYNCHRONIZATION. From-SVN: r60998
2002-12-31re PR libgcj/8997 (spin() calls Thread.sleep)Tom Tromey2-0/+19
2002-12-31 Tom Tromey <tromey@redhat.com> Ranjit Mathew <rmathew@hotmail.com> Fix for PR libgcj/8997: * java/lang/natObject.cc (spin): Use _Jv_platform_usleep. Include platform.h. * include/posix.h (_Jv_platform_usleep): New function. * include/win32.h (_Jv_platform_usleep): New function. Co-Authored-By: Ranjit Mathew <rmathew@hotmail.com> From-SVN: r60700
2002-12-28boehm.cc: Remove stray semicolon.Mark Mitchell3-4/+4
* boehm.cc: Remove stray semicolon. * interpret.cc: Likewise. * prims.cc: Likewise. * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition earlier to ensure default arguments are processed. * gcj/array.h (JArray): Add forward declaration. (elements): Likewise. * gcj/javaprim.h: Remove stray semicolons. * include/bohm-gc.h: Likewise. * include/jni.h: Likewise. * include/jvm.h: Likewise. * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass. From-SVN: r60556
2002-12-19natClassLoader.cc (defineClass0): Removed erroneous comment.Tom Tromey1-1/+3
* java/lang/natClassLoader.cc (defineClass0): Removed erroneous comment. * java/lang/ClassLoader.java (defineClass): Use chained exception when rethrowing. * defineclass.cc (handleClassBegin): Mark class as interpreted. * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New constants. * resolve.cc (_Jv_PrepareMissingMethods): New function. (_Jv_PrepareClass): Use it. * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote. (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend. * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS. (Class): _Jv_PrepareMissingMethods now friend. * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize. Record `NULL' for system class loader. (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case system class loader. (_Jv_FindClassInCache): Likewise. (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info. (_Jv_FindClass): Special case system class loader. * java/lang/natClass.cc (_Jv_abstractMethodError): New function. (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty vtable slots. (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method in a final class. (_getDeclaredMethod): Don't return synthetic methods. (getDeclaredMethods): Likewise. (_getMethod): Likewise. (_getMethods): Likewise. From-SVN: r60319
2002-12-10win32.h: Fixed typo in "DISABLE_JAVA_NET".Tom Tromey1-4/+4
* include/win32.h: Fixed typo in "DISABLE_JAVA_NET". From Laurent Bardet <l.bardet@magic.fr>. From-SVN: r60013
2002-12-10win32.h (_Jv_platform_solib_prefix): New define.Tom Tromey2-0/+8
* include/win32.h (_Jv_platform_solib_prefix): New define. (_Jv_platform_solib_suffix): Likewise. * include/posix.h (_Jv_platform_solib_prefix): New define. (_Jv_platform_solib_suffix): Likewise. * java/lang/natRuntime.cc: Include StackTrace.h. (_load): Use findLibrary and new platform defines. (nativeGetLibname): Use new platform defines. From-SVN: r59976
2002-12-06java-interp.h (class _Jv_InterpMethod): Added JV_MARKOBJ_DECL.Tom Tromey1-0/+4
* include/java-interp.h (class _Jv_InterpMethod): Added JV_MARKOBJ_DECL. * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also mark `prepared' field of interpreted method. * interpret.cc (compile): Use _Jv_AllocBytes. From-SVN: r59900
2002-12-03natClassLoader.cc (_Jv_PrepareCompiledClass): Call _Jv_PushClass.Andrew Haley1-0/+2
2002-12-03 Andrew Haley <aph@redhat.com> * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call _Jv_PushClass. (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL. (_Jv_PopClass): New. (_Jv_PushClass): New. * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to discover the ClassLoader of our caller. (_Jv_CheckArrayStore): Don't check that a class is assignment compatible with Object. * java/lang/natVMTHrowable.cc: Delete. * gnu/gcj/runtime/StackTrace.java: New, partly copied from java.lang.VMThrowable. (StackTrace(), StackTrace(int)): New constructors. (classAt, methodAt, update, methodAtAddress): New methods. (map): New field. * java/lang/VMThrowable.java: Use StackTrace instead of natVMTHrowable. * java/lang/Class.h (getClassLoaderInternal): New. (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass. Be friendly with gnu::gcj::runtime::StackTrace. (Object.chain): New field. * include/java-interp.h (class _Jv_InterpMethod): Be friendly with gnu::gcj::runtime::StackTrace. * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal() instead of getClassLoader(). * verify.cc (class _Jv_BytecodeVerifier): Likewise. java::lang::VMThrowable. * Makefile.am (core_java_source_files): Add MethodRef.java, StackTrace.java. (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc. * Makefile.in: Rebuild. 2002-12-03 Andrew Haley <aph@redhat.com> * class.c (make_class_data): New field, "chain". * decl.c (java_init_decl_processing): Likewise. From-SVN: r59769
2002-12-03jni.cc: Added `name' argument.Tom Tromey1-6/+8
* jni.cc: Added `name' argument. * include/jni.h (struct JNINativeInterface) [DefineClass]: Added `const char *' argument. (class _Jv_JNIEnv) [DefineClass]: Likewise. From-SVN: r59756
2002-11-26natPlainDatagramSocketImpl.cc (socklen_t): Don't define.Andreas Tobler1-0/+4
2002-11-26 Andreas Tobler <a.tobler@schweiz.ch> * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't define. * java/net/natPlainSocketImpl.cc (socklen_t): Don't define. * include/posix.h (socklen_t): Define if not already defined. From-SVN: r59533
2002-11-222002-11-22 Michael Koch <konqueror@gmx.de>Michael Koch2-15/+16
* include/posix.h: (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET. * include/win32.h: (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET. (backtrace): Moved out of #ifndef DISBALE_JAVA_NET. From-SVN: r59374
2002-11-21posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.Michael Koch1-2/+6
2002-11-21 Michael Koch <konqueror@gmx.de> * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET. Only the new network functions should be in it. From-SVN: r59350
2002-11-21posic.h: Moved new functions into a #ifndef DISABLE_JAVA_NETMichael Koch2-1/+14
2002-11-21 Michael Koch <konqueror@gmx.de> * include/posic.h: Moved new functions into a #ifndef DISABLE_JAVA_NET * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET From-SVN: r59346
2002-11-212002-11-21 Michael Koch <konqueror@gmx.de>Michael Koch2-1/+110
* include/posix.h (_Jv_socket): New method. (_Jv_connect): New method. (_Jv_close): New method. (_Jv_platform_close_on_exec): Prefixed system function with "::". (_Jv_bind): New method. (_Jv_listen): New method. (_Jv_write): New method. (_Jv_read): New method. * include/win32.h (_Jv_socket): New method. (_Jv_connect): New method. (_Jv_close): New method. (_Jv_bind): New method. (_Jv_listen): New method. (_Jv_write): New method. (_Jv_read): New method. * java/net/natNetworkInterface.cc: Include platform.h, removed inclusion of socket.h (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and ::close() by _Jv_close(). * java/net/natPlainDatagramSocketImpl.cc: Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind, added some new lines to make code more readable. (create): Replaced ::socket() by _Jv_socket(). (close): Replaced NATIVE_CLOSE() by _Jv_close(). * java/net/natPlainSocketImpl.cc: Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept, removed include of socket.h, removed some windows defines (now in include/win32.h). (create): Replaced ::socket() by _Jv_socket(). (close): Replaced NATIVE_CLOSE() by _Jv_close(). (write): Replaced ::read by _Jv_write(). (read): Replaced ::read by _Jv_read(). From-SVN: r59338
2002-11-19jni.h: Add missing JNICALL and JNIEXPORT attributes to function and function ↵Ranjit Mathew1-400/+405
pointer... 2002-11-19 Ranjit Mathew <rmathew@hotmail.com> * include/jni.h: Add missing JNICALL and JNIEXPORT attributes to function and function pointer declarations in accordance with Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT based on whether __GCJ_JNI_IMPL__ has been defined or not. * jni.cc: Add missing JNICALL and JNIEXPORT attributes to JNI function definitions. From-SVN: r59277
2002-11-10jni.h (JNIIMPORT, [...]): Linker defines for Win32.Ranjit Mathew1-2/+11
2002-11-08 Ranjit Mathew <rmathew@hotmail.com> * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines for Win32. JNICALL has been defined to __stdcall to be compatible with Sun's JDKs. From-SVN: r58985
2002-10-21aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): addedAdam Megacz2-4/+15
2002-10-20 Adam Megacz <adam@xwt.org> * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added * configure.in: enabled hash sync on Win32 * include/win32-threads.h (_Jv_ThreadId_t): added. * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit, heavy_lock_obj_finalization_proc, wait, notify, notifyAll): removed some posix-isms, use Thread::sleep() instead of usleep, added code to clear bottom three bits if platform has a broken linker. * include/win32-threads.h (_Jv_ThreadId_t): added. From-SVN: r58344
2002-10-10cvsignore: New file to ignore files generated during build.Michael Koch1-0/+1
2002-10-10 Michael Koch <konqueror@gmx.de> * gcj/.cvsignore: New file to ignore files generated during build. * include/.cvsignore: New file to ignore files generated during build. From-SVN: r58003
2002-10-01ObjectInputStream.java (resolveProxyClass): New method from Classpath.Tom Tromey1-2/+2
* java/io/ObjectInputStream.java (resolveProxyClass): New method from Classpath. * Makefile.in: Rebuilt. * Makefile.am (rmi_java_source_files): Added new files. * gnu/java/rmi/RMIMarshalledObjectInputStream.java, gnu/java/rmi/RMIMarshalledObjectOutputStream.java, gnu/java/rmi/server/ConnectionRunnerPool.java: New files from Classpath. * gnu/java/rmi/dgc/DGCImpl.java, gnu/java/rmi/dgc/DGCImpl_Skel.java, gnu/java/rmi/dgc/DGCImpl_Stub.java, gnu/java/rmi/registry/RegistryImpl_Skel.java, gnu/java/rmi/registry/RegistryImpl_Stub.java, gnu/java/rmi/server/RMIHashes.java, gnu/java/rmi/server/RMIObjectInputStream.java, gnu/java/rmi/server/RMIObjectOutputStream.java, gnu/java/rmi/server/UnicastConnection.java, gnu/java/rmi/server/UnicastConnectionManager.java, gnu/java/rmi/server/UnicastRef.java, gnu/java/rmi/server/UnicastServer.java, gnu/java/rmi/server/UnicastServerRef.java, java/rmi/MarshalledObject.java, java/rmi/server/RMIClassLoader.java, java/rmi/server/RemoteObject.java, java/rmi/server/UnicastRemoteObject.java, java/security/SecureClassLoader.java: Merged from Classpath. From-SVN: r57675
2002-09-30Add Proxy support.Anthony Green1-2/+2
From-SVN: r57635
2002-09-18Matcher.java, [...]: Merge with classpath, new files.Michael Koch1-0/+3
2002-09-18 Michael Koch <konqueror@gmx.de> * java/util/regex/Matcher.java, java/util/regex/Pattern.java, java/util/regex/PatternSyntaxException.java: Merge with classpath, new files. * Makefile.am (core_java_source_files): Added java/util/regex/Matcher.java, java/util/regex/Pattern.java, java/util/regex/PatternSyntaxException.java * Makefile.in: Regenerated. * include/config.h.in: Added HAVE_NET_IF_H. * java/net/natNetworkInterface.cc (getRealNetworkInterfaces): Removed #if 0 ... #endif. From-SVN: r57275
2002-09-14natPlainDatagramSocket.cc: removed #include <ws2tcpip.h>; the mingw header ↵Adam Megacz1-0/+1
is broken (conflicts with itself). 2002-09-14 Adam Megacz <adam@xwt.org> * java/net/natPlainDatagramSocket.cc: removed #include <ws2tcpip.h>; the mingw header is broken (conflicts with itself). * include/win32.h: included definition for IP_TOS to satisfy natPlainDatagramSocket.cc From-SVN: r57151
2002-08-29natFileDescriptorPosix.cc (setLength): Handle case where ftruncate is missing.Tom Tromey1-0/+4
* java/io/natFileDescriptorPosix.cc (setLength): Handle case where ftruncate is missing. * configure, include/config.h.in: Rebuilt. * acconfig.h (HAVE_FTRUNCATE): Mention. * configure.in: Check for ftruncate. From-SVN: r56658
2002-08-29jvm.h (struct _Jv_frame_info): New structure.Tom Tromey2-0/+38
* include/jvm.h (struct _Jv_frame_info): New structure. * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h, java-interp.h. (lookupInterp): New method. (getAddrAsString): Use _Jv_frame_info. (dladdrLookup): Likewise. * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up interpreted frame. (lookupInterp): Declare. * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h. (fillInStackTrace): Collect information on interpreted frames. Use _Jv_frame_info. * interpret.cc: Include Thread.h. (run): Create and push _Jv_MethodChain object. (_Jv_EndOfInterpreter): New global. * java/lang/Thread.java (interp_frame): New field. * include/java-interp.h (struct _Jv_MethodChain): New structure. Include NameFinder.h. From-SVN: r56657
2002-08-27natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New define.Tony Kimball1-2/+1
2002-08-27 Tony Kimball <alk@pobox.com> Tom Tromey <tromey@redhat.com> * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New define. (::close): Removed. (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE. * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define. (::close): Removed. (PlainSocketImpl::close): Use NATIVE_CLOSE. * include/win32.h (getcwd): Removed declaration. Include io.h. Co-Authored-By: Tom Tromey <tromey@redhat.com> From-SVN: r56605
2002-08-26win32.h (getcwd): copied function declaration as temporary fix for header ↵Adam Megacz1-0/+3
confusion. 2002-08-25 Adam Megacz <adam@xwt.org> * include/win32.h (getcwd): copied function declaration as temporary fix for header confusion. From-SVN: r56574
2002-08-24Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.Mark Wielaard1-103/+0
* Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc. (core_java_source_files): Add VMThrowable.java and NameFinder.java (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc and natNameFinder.cc. * Makefile.in: Regenerate. * prims.cc: Use trace_enabled from VMThrowable. * name-finder.cc: Removed. * gcj/javaprims.h: Add class VMThrowable. * gnu/gcj/runtime/NameFinder.java: New file. * gnu/gcj/runtime/natNameFinder.cc: Likewise. * include/name-finder.h: Removed. * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new method stackTraceString(). (printStackTrace (PrintWriter)): Likewise. (stackTraceString): Complete rewrite of old printStackTrace using StringBuffer. (stackTraceStringBuffer): New helper method for stackTraceString(). (fillInStackTrace): Delegate to VMTrowable. (getStackTrace): Likewise. (getStackTrace0): Removed. (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java. (setStackTrace): Copy given array. * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable). * java/lang/VMThrowable.java: New class. * java/lang/natVMThrowable.cc: New file. From-SVN: r56556
2002-07-19ieeefp.h: Add x86-64 support.Bo Thorsen1-0/+3
2002-07-19 Bo Thorsen <bo@berlioz.suse.de> * java/lang/ieeefp.h: Add x86-64 support. * configure.in: Likewise. * configure.host: Likewise. * configure: Regenerated. * sysdep/x86-64/locks.h: New file with x86-64 locks. From-SVN: r55588
2002-07-12natThrowable.cc (printRawStackTrace): removed.Mark Wielaard1-12/+24
* java/lang/natThrowable.cc (printRawStackTrace): removed. (getStackTrace0): new method. * java/lang/Throwable.java (CPlusPlusDemangler): removed. (printStackTrace(PrintWriter)): replace with pure java implementation. (printRawStackTrace): removed. (getStackTrace0): new method. * java/lang/StackTraceElement.java (toString): add extra whitespace. * gcj/javaprims.h: regenerate class list. * include/name-finder.h (lookup): new returns StackTraceElement*. (method_name, file_name): fields removed. (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields. (~_Jv_name_finder): close new descriptors. * name-finder.cc(_Jv_name_finder): setup c++filt helper process. (createStackTraceElement): new method. (lookup): returns StackTraceElement*, uses createStackTraceElement(). From-SVN: r55424
2002-06-24verify.cc (branch_prepass): Updated for change to exception handler type.Tom Tromey1-26/+19
* verify.cc (branch_prepass): Updated for change to exception handler type. (verify_instructions_0): Likewise. * defineclass.cc (handleCodeAttribute): Initialize `prepared'. (handleExceptionTableEntry): Updated for change to exception handler type. * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation. * include/java-interp.h (_Jv_InterpMethodInvocation): Removed. (union _Jv_InterpPC): New. (class _Jv_InterpException): Changed types to _Jv_InterpPC. (class _Jv_InterpMethod): Added new `prepared' field. (class _Jv_InterpMethod): Added `compile' method. Removed `continue1' and `find_exception'. Changed arguments to `run'. * interpret.cc (union insn_slot): New. (find_exception): Removed. (run_normal): Removed most logic. (run_synch_object): Likewise; also, use JvSynchronize. (run_synch_class): Likewise. (run): Removed. (continue1): Renamed as `run'. Compile bytecode if required. Add new code to allow refinement of direct-threaded code at runtime. Handle exceptions. (SAVE_PC): Removed. (compile): New method. (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines. (NULLARRAYCHECK): Don't use SAVE_PC. (pc_t): New typedef. (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP, SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros. From-SVN: r54968
2002-06-24configure: Rebuilt.Tom Tromey1-1/+1
* configure: Rebuilt. * configure.in (INTERPRETER): New subst. (AM_RUNTESTFLAGS): Don't subst. From-SVN: r54940
2002-06-17javaprims.h: Updated class declaration list.Tom Tromey1-2/+2
* gcj/javaprims.h: Updated class declaration list. * Makefile.in: Rebuilt. * Makefile.am (core_java_source_files): Added new file. * java/util/EventListenerProxy.java: New file. * java/util/EventListener.java: Re-merge with Classpath. * java/util/EventObject.java: Re-merge with Classpath. From-SVN: r54720
2002-06-11Class.h (Class::desiredAssertionStatus): Declare.Tom Tromey1-2/+2
* java/lang/Class.h (Class::desiredAssertionStatus): Declare. (Class::getPackagePortion): Likewise. * java/lang/Class.java (desiredAssertionStatus): New method from Classpath. (getPackagePortion): Likewise. * java/lang/VMClassLoader.java (defaultAssertionStatus, packageAssertionStatus, classAssertionStatus): New methods from Classpath. * java/lang/ClassLoader.java (defaultAssertionStatus, systemPackageAssertionStatus, packageAssertionStatus, systemClassAssertionStatus, classAssertionStatus): New fields from Classpath. (setDefaultAssertionStatus, setPackageAssertionStatus, setClassAssertionStatus, clearAssertionStatus): New methods from Classpath. * Makefile.in: Rebuilt. * Makefile.am (core_java_source_files): Added AssertionError.java. * java/lang/AssertionError.java: New from Classpath. From-SVN: r54517
2002-05-29configure.host [...]: Set can_unwind_signal=yes.Ulrich Weigand1-0/+78
* configure.host [s390*-linux*]: Set can_unwind_signal=yes. * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE. Set SIGNAL_HANDLER=include/s390-linux.h. * configure: Regenerate. * include/s390-linux.h: New file. From-SVN: r54012
2002-05-03natSystem.cc (getSystemTimeZone): Use HAVE_UNDERSCORE_TIMEZONE.David Billinghurst1-3/+6
2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com> Tom Tromey <tromey@redhat.com> * java/lang/natSystem.cc (getSystemTimeZone): Use HAVE_UNDERSCORE_TIMEZONE. * include/config.h.in: Rebuilt. * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef. * aclocal.m4, configure: Rebuilt. * acinclude.m4: Run AC_EXEEXT. * configure.in: Adjust test for `timezone' so it fails on Cygwin. Add test for `_timezone'. Co-Authored-By: Tom Tromey <tromey@redhat.com> From-SVN: r53117
2002-05-03dwarf2-signal.h (INIT_SEGV, [...]): use sigaction instead of __libc_sigaction.Hans Boehm1-11/+5
* include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64): use sigaction instead of __libc_sigaction. From-SVN: r53074
2002-05-02re PR bootstrap/6525 (libjava won't build on Red Hat Linux 6.2/sparc)David S. Miller1-2/+88
2002-05-02 David S. Miller <davem@redhat.com> PR bootstrap/6525 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use __libc_sigaction on Sparc. From-SVN: r53055
2002-04-26re PR target/6422 (libjava failures on sparc-linux)David S. Miller1-14/+20
2002-04-25 David S. Miller <davem@redhat.com> PR target/6422 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set program counter to next program counter minus 8. Update comments in this macro to explain why. From-SVN: r52820
2002-04-26verify.cc (construct_primitive_array_type): New case.Tom Tromey1-2/+4
* verify.cc (construct_primitive_array_type) [void_type]: New case. (branch_prepass): Added dummy entries for unused instruction values. (verify_instructions_0): Likewise. * interpret.cc (continue1): Comment fix. * include/java-insns.h (op_xxxunusedxxx1): Removed. * Makefile.in: Rebuilt. * Makefile.am: Added -Wswitch-enum. From-SVN: r52814
2002-04-24win32.cc, win32.cc (backtrace): Added this function because Win32 does not ↵Adam Megacz1-0/+6
supply it. 2002-04-23 Adam Megacz <adam@xwt.org> * win32.cc, include/win32.cc (backtrace): Added this function because Win32 does not supply it. From-SVN: r52701
2002-04-22dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document magic instruction ↵David S. Miller1-0/+2
reading sequence. 2002-04-21 David S. Miller <davem@redhat.com> * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document magic instruction reading sequence. From-SVN: r52609
2002-04-21dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer arg.David S. Miller2-6/+58
2002-04-19 David S. Miller <davem@redhat.com> * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer arg. (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc. (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation on Sparc too. * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly for 64-bit sparc. (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works. * sysdeps/sparc/locks.h: New file. * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h on all sparc Solaris configurations. Set to include/dwarf2-signal.h on sparc Linux. * configure: Regenerate * configure.host (can_unwind_signal): sparc*-linux* can do it now. From-SVN: r52575
2002-04-16re PR libgcj/6081 (libjava make install fails: Arg list too long)Tom Tromey1-4/+4
Fix for PR libgcj/6081: * Makefile.in: Rebuilt. * Makefile.am (install-data-local): Use GNU make trick to avoid shell limit. From-SVN: r52370
2002-04-12Install libgcj.jar as libgcj-VERSION.jar.Anthony Green1-4/+5
From-SVN: r52226
2002-04-11jvm.h (_Jv_ThrowBadArrayIndex, [...]): Mark as noreturn.Adam King1-3/+5
2002-04-11 Adam King <aking@dreammechanics.com> Tom Tromey <tromey@redhat.com> * include/jvm.h (_Jv_ThrowBadArrayIndex, _Jv_ThrowNullPointerException): Mark as noreturn. * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked and _Jv_free. Correctly invoke GetTempPath(). Indentation fixes. Co-Authored-By: Tom Tromey <tromey@redhat.com> From-SVN: r52164