summaryrefslogtreecommitdiffstats
path: root/libjava/java/lang
Commit message (Collapse)AuthorAgeFilesLines
* 2002-04-13 Adam King <aking@dreammechanics.com>mark2002-04-151-1/+11
| | | | | | | | * java/lang/natDouble.cc (parseDouble): Allow a number to end with the f/F/d/D modifiers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52308 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2002-04-102-3/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (java/lang/Thread.h): Mark _Jv_AttachCurrentThreadAsDaemon as friend. * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare. * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function. * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New function. * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4. * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4. (_Jv_JNI_InvokeFunctions): Added _Jv_JNI_AttachCurrentThreadAsDaemon. (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4. (JNI_GetDefaultJavaVMInitArgs): Likewise. (JNI_CreateJavaVM): Likewise. (_Jv_JNI_AttachCurrentThread): Likewise. (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument. (_Jv_JNI_AttachCurrentThreadAsDaemon): New method. (_Jv_JNIFunctions): Initialize new fields. (_Jv_JNI_NewDirectByteBuffer): New function. (_Jv_JNI_GetDirectBufferAddress): Likewise. (_Jv_JNI_GetDirectBufferCapacity): Likewise. * include/jni.h (JNI_VERSION_1_4): New macro. (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field. (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method. (JNINativeInterface::NewDirectByteBuffer): New field. (JNINativeInterface::GetDirectBufferAddress): New field. (JNINativeInterface::GetDirectBufferCapacity): New field. (_Jv_JNIEnv::NewDirectByteBuffer): New method. (_Jv_JNIEnv::GetDirectBufferAddress): New method. (_Jv_JNIEnv::GetDirectBufferCapacity): New method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52144 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-04-07 Adam King <aking@dreammechanics.com>bryce2002-04-071-16/+4
| | | | | | | | | | | | | * java/lang/natSystem.cc (init_properties): Call new function _Jv_platform_initProperties. * win32 (_Jv_platform_initProperties): New function that adds Win32 support for the System properties os.name, os.arch, os.version, user.name, user.home, and user.dir. * include/posix.h, include/win32.h, posix.cc: New function _Jv_platform_initProperties. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51989 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/Character,java (isDefined): getType() != UNASSIGNED.mark2002-04-071-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51982 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fixmark2002-04-041-8/+8
| | | | | | | ordering. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51848 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natClassLoader.cc (findClass): Compare against `3',tromey2002-04-021-2/+3
| | | | | | | not `0'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51764 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natSystem.cc (init_properties): Update VM versionbryce2002-03-181-6/+16
| | | | | | | | | | | properties. * configure.in: Set GCJVERSION. * acconfig.h: Add GCJVERSION. * configure: Rebuilt. * include/config.h.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50944 138bc75d-0d04-0410-961f-82ee72b054a4
* Add arm thumb supportgreen2002-03-171-3/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50920 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/Win32Process.java: Added comment.tromey2002-03-101-0/+5
| | | | | | | | | | | | | | | | * include/posix.h (_Jv_platform_close_on_exec): New function. Include fcntl.h. * include/win32.h (_Jv_platform_close_on_exec): New function. * java/net/natPlainSocketImpl.cc (create): Set close-on-exec flag. (accept): Likewise. * java/net/natPlainDatagramSocketImpl.cc (create): Set close-on-exec flag. * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec flag. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50536 138bc75d-0d04-0410-961f-82ee72b054a4
* libjava:bryce2002-03-101-123/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hashtable synchronization for PowerPC. * configure.in: Define SLOW_PTHREAD_SELF if configure.host set slow_pthread_self. Set up symlink for sysdeps directory. * configure: Rebuild. * configure.host: Document more shell variables. Set sysdeps_dir for most platforms. Set slow_pthread_self for i686. Set enable_hash_synchronization_default and slow_pthread_self for PowerPC. * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so that memory barrier is emitted where required. * prims.cc: 64-bit align static primitive class instances. * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add read_barrier() to enforce ordering of reads. * sysdep/powerpc/locks.h: New file. Implementation of synchronization primitives for PowerPC. * sysdep/i386/locks.h: New file. Synchronization primitives for i386 moved from natObject.cc. * sysdep/alpha/locks.h: Likewise. * sysdep/ia64/locks.h: Likewise. * sysdep/generic/locks.h: Likewise. * java/lang/natObject.cc: Move thread synchronization primitives to system-dependent headers. gcc/java: * decl.c (java_init_decl_processing): Make sure class_type_node alignment is not less than 64 bits if hash synchronization isenabled. boehm-gc: * include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ support is enabled, for hash synchronization. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50523 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-03-09 Adam Megacz <adam@xwt.org>megacz2002-03-091-1/+1
| | | | | | | | * java/lang/Win32Process.java (ConcreteProcess): Now throws an IOException so that Throwable.printStackTrace fails correctly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50488 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-03-07 Adam Megacz <adam@xwt.org>megacz2002-03-081-3/+1
| | | | | | | | | | | | | | | | * win32.cc (_Jv_platform_gettimeofday): Now takes no args, returns jlong. Added implementation * posix.cc (_Jv_platform_gettimeofday): Now takes no args, returns jlong. * win32.h (_Jv_platform_gettimeofday): Now takes no args, returns jlong. * posix.h (_Jv_platform_gettimeofday): Now takes no args, returns jlong. * java/lang/natSystem.cc (currentTimeMillis): Now uses updated _Jv_platform_gettimeofday signature. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50416 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-03-04 Eric Blake <ebb9@email.byu.edu>ericb2002-03-062-621/+2090
| | | | | | | | | | | | | | | | | | | | | | | | | * scripts/unicode-decomp.pl: Move from chartables.pl, and remove the code for generating include/java-chartables.h. * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and merge with Classpath. * scripts/unicode-muncher.pl: Copy from Classpath. * scritps/MakeCharTables.java: New file. * gnu/gcj/convert/Blocks-3.txt: New file. * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file. * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file. * gnu/java/lang/CharData.java: Copy from Classpath. * Makefile.am (ordinary_java_source_files): Add gnu/java/lang/CharData.java. * configure.in: Remove --enable-fast-character option. * java/lang/Character.java: Merge algorithms and Javadoc with Classpath. * java/lang/natCharacter.cc: Implement Unicode lookup table more efficiently. * include/java-chardecomp.h: Regenerate. * include/java-chartables.h: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50368 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natPosixProcess.cc (fail): Removed.tromey2002-03-061-126/+153
| | | | | | | | (startProcess): Simplified error-handling. Preserve LD_LIBRARY_PATH across exec. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50342 138bc75d-0d04-0410-961f-82ee72b054a4
* Add pointer support to the reflection code.green2002-03-011-29/+36
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50180 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natSystem.cc (init_properties): Use __VERSION__.tromey2002-02-271-2/+2
| | | | | | | | | | | * gij.cc (version): Use __VERSION__. * include/config.h.in: Rebuilt. * acconfig.h (GCJVERSION): Removed. * configure: Rebuilt. * configure.in (GCJVERSION): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50088 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, nottromey2002-02-271-3/+3
| | | | | | | `1'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50081 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-02-24 Adam Megacz <adam@xwt.org>megacz2002-02-241-0/+63
| | | | | | | | * java/lang/Win32Process.java: Created a dummy class to allow build process to run to completion. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50013 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):jsturm2002-02-241-1/+42
| | | | | | | | Define ffi_result union for ffi_call result. Cast ffi_result members to jvalue. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50007 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natSystem.cc (init_properties): Include the `Inc.' intromey2002-02-221-2/+2
| | | | | | | | | | | java.vendor and java.vm.vendor. * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most recent copyright date. * gnu/gcj/convert/Convert.java (version): Print `Inc'. * gij.cc (version): Print `Inc'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49975 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt with Eric's change below.bryce2002-02-151-122/+1
| | | | | | | | | * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat), round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)): Removed functions which are now implemented in Math.java. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49782 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-02-14 Eric Blake <ebb9@email.byu.edu>ericb2002-02-152-82/+2440
| | | | | | | | | | | * gcj/javaprims.h (java::lang): Add java::lang::StrictMath. * Makefile.am (core_java_source_files): Add java/lang/StrictMath.java. * java/lang/Math.java: Merge with Classpath. * java/lang/StrictMath.java: New file - merge with Classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49781 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natThrowable.cc: Updated copyright.tromey2002-02-071-1/+1
| | | | | | | | | | | * java/io/natFileWin32.cc: Updated copyright. * java/io/natFileDescriptorWin32.cc: Updated copyright. * win32-threads.cc: Updated copyright. * name-finder.cc: Updated copyright. * include/name-finder.h: Updated copyright. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49586 138bc75d-0d04-0410-961f-82ee72b054a4
* * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.tromey2002-02-071-1/+1
| | | | | | | | | | | | | | | | | * win32.cc (win32_exception_handler): Now static. * include/win32.h (_Jv_platform_initialize): Declare. (win32_exception_handler): Don't declare. * java/lang/natSystem.cc (currentTimeMillis): Use _Jv_platform_gettimeofday. * posix.cc (_Jv_platform_gettimeofday): Renamed. (_Jv_select): Use new name. (_Jv_platform_initialize): New function. * include/posix.h (_Jv_platform_gettimeofday): Renamed from _Jv_gettimeofday. (_Jv_platform_initialize): Declare. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49583 138bc75d-0d04-0410-961f-82ee72b054a4
* embedded updatesgreen2002-02-071-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49562 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.bryce2002-02-061-1/+1
| | | | | | | | | | | | Symlink PLATFORMH to platform.h. * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add PLATFORMOBJS. * java/lang/natSystem.cc: #include platform.h not posix.h. * Makefile.in: Rebuilt with libgcj automake. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49534 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natPosixProcess.cc (myclose): New function.tromey2002-02-021-14/+27
| | | | | | | | (fail): Use it. (startProcess): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49433 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-02-01 Adam Megacz <adam@xwt.org>megacz2002-02-022-0/+0
| | | | | | | | | * configure.in: Added support for mingw. * java/lang/Win32Process.java: Created as empty file. * java/lang/natWin32Process.cc: Created as empty file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49425 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>bryce2002-01-251-2/+3
| | | | | | | * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49198 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/reflect/natField.cc (setAddr): New function.bothner2002-01-231-9/+19
| | | | | | | | | | | Calls getAddr and then checks that the field isn't final. (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat, setDouble, set): Use setAddr instead of getAddr, to check for FINAL. (set): Call setAddr before check that new value has right type, to better match specified semantics. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49153 138bc75d-0d04-0410-961f-82ee72b054a4
* Add license clarification.mark2002-01-2277-385/+1232
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49104 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-01-15 Tom Tromey <tromey@redhat.com>tromey2002-01-162-14/+18
| | | | | | | | | | | | | * java/lang/Float.java (equals): Preserve old code. * java/lang/Double.java (equals): Preserve old code. 2002-01-15 Eric Blake <ebb9@email.byu.edu> * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math. * java/lang/Float.java (equals, compare): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48895 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natSystem.cc (init_properties): Only look for defaulttromey2002-01-111-3/+4
| | | | | | | | | | locale if LC_MESSAGES is defined. * aclocal.m4, configure, include/config.h.in: Rebuilt. * configure.in: Call AM_LC_MESSAGES. * acinclude.m4 (AM_LC_MESSAGES): New macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48781 138bc75d-0d04-0410-961f-82ee72b054a4
* For PR libgcj/5031:tromey2002-01-081-1/+6
| | | | | | | | * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to choose default locale. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48664 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>tromey2002-01-081-9/+5
| | | | | | | | * java/lang/reflect/natMethod.cc: Don't include alloca.h. (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48656 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>tromey2002-01-061-22/+17
| | | | | | | | | * configure, include/config.h.in: Rebuilt. * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE. * configure.in: Call AC_STRUCT_TIMEZONE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48588 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/Thread.java (stop): No longer synchronized.tromey2002-01-041-3/+3
| | | | | | | (start): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48540 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/ieeefp.h: Fix bug in my hand-application of previoustromey2002-01-021-1/+1
| | | | | | | patch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48475 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>tromey2002-01-021-5/+2
| | | | | | | | * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for PPC Darwin, not for all of Darwin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48473 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-12-29 Andreas Tobler <a.tobler@schweiz.ch>tromey2002-01-011-0/+4
| | | | | | | | * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for Darwin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48455 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for PR java/5165:tromey2001-12-211-5/+3
| | | | | | | | | * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Convert any constant string field to a String; not just final fields. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48255 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for PR libgcj/2428:tromey2001-12-212-4/+29
| | | | | | | | | * java/lang/natClass.cc: Include RuntimePermission.h. (getClassLoader): Define. * java/lang/Class.h (Class.getClassLoader): Only declare. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48253 138bc75d-0d04-0410-961f-82ee72b054a4
* For PR java/5088:tromey2001-12-162-21/+19
| | | | | | | | | | | | | | | | | * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): New function. (_Jv_NewClass): Use it. (defineClass0): Use it. * prims.cc (_Jv_InitPrimClass): Adjust vtable here. (_Jv_InitPrimClass): Use _Jv_InitNewClassFields. (_Jv_NewArray): Don't abort; just throw exception. Include InternalError.h. * java/lang/Class.h (Class::Class): Declare, don't define. (Class): Declare _Jv_InitNewClassFields as a friend. (union _Jv_Self): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48081 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/java:bryce2001-12-153-2/+221
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java-tree.h (otable_methods, otable_decl, otable_syms_decl, otable_type, otable_ptr_type, method_symbol_type, method_symbols_array_type, method_symbols_array_ptr_type): New field/global tree definitions. (flag_indirect_dispatch): New flag. * decl.c (java_init_decl_processing): Initialize new otable and otable_syms type nodes and decls. Add new field "index" to method_type_node. * class.c (build_method_symbols_entry): New function. (make_method_value): Set "index" to to method's vtable index for virtual methods when indirect-dispatch is not used. (make_class_data): For indirect-dispatch, dont emit the dtable_decl, and set vtable_method_count to -1. Set otable and otable_syms field if indirect-dispatch is used and there was something to put in them. (build_method_symbols_entry): New function. (emit_offset_symbol_table): New function. * expr.c (get_offset_table_index): New function. (build_invokevirtual): Build array reference to otable at the index returned by get_offset_table_index, and use the result as the vtable offset. (build_invokeinterface): Similar. * jcf-parse.c (yyparse): If indirect-dispatch, call emit_offset_symbol_table at the end of compilation, after all classes have been generated. * jvspec.c: Don't pass findirect-dispatch to jvgenmain. * lang.c (flag_indirect_dispatch): Define. (lang_f_options): Add indirect-dispatch flag. libjava: * include/jvm.h (_Jv_VTable::idx_to_offset): New method. * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call _Jv_MakeVTable and _Jv_LinkOffsetTable if needed. * java/lang/Class.h (_Jv_Method): Add "index" field. (_Jv_MethodSymbol): New struct type. (_Jv_LinkOffsetTable, _Jv_LayoutVTableMethods, _Jv_SetVTableEntries, _Jv_MakeVTable): Friends. (otable, otable_syms): New Class fields. * java/lang/natClass.cc (_Jv_LinkOffsetTable): New function. (isVirtualMethod): New static function. (_Jv_LayoutVTableMethods): New function. (_Jv_SetVTableEntries): New function. (_Jv_MakeVTable): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48038 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava/prims.cc: Some old cleanups. The collector nowhboehm2001-12-141-2/+5
| | | | | | | | | | | | | | handles test for out of memory. * libjava/prims.cc, libjava/gcj/javaprims.h: (_Jv_AllocObjectNoInitNoFinalizer, _Jv_AllocObjectNoFinalizer): New functions for finalizer-free allocation. (jvmpi_notify_alloc): Became separate function. * libjava/java/lang/Object.h, libjava/include/jvm.h: Adjust for revised vtable layout on IA64. With TARGET_VTABLE_USES_DESCRIPTORS, there is only one extra descriptor. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48002 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/String.java (String): New constructor.tromey2001-12-111-0/+10
| | | | | | | | | | | | * gnu/gcj/runtime/natStringBuffer.cc: New file. * gnu/gcj/runtime/StringBuffer.java: New file. * Makefile.in: Rebuilt. * Makefile.am (ordinary_java_source_files): Added gnu/gcj/runtime/StringBuffer.java. (nat_source_files): Added gnu/gcj/runtime/natStringBuffer.cc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47883 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for PR libgcj/5064.tromey2001-12-111-3/+6
| | | | | | | | * java/lang/natClassLoader.cc: Don't include stdio.h. (_Jv_RegisterClassHookDefault): Don't use snprintf. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47861 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2001-12-091-2/+1
| | | | | | | | | | | | | | | | | * Makefile.am (java/lang/reflect/Method.h): ObjectInputStream now a friend. * java/lang/natClass.cc (getSignature): Only look at elements of non-null parameters. (getPrivateMethod): Removed old FIXME comment. * java/io/natObjectInputStream.cc (allocateObject): Removed old FIXME comment. (callConstructor): Simply use `NULL' for value of parameters. (ObjectClass): Removed. (ClassClass): Likewise. * java/io/ObjectInputStream.java (readObject): Fixed typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47800 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/ClassLoader.java (defineClass): Rethrow anytromey2001-12-071-1/+1
| | | | | | | LinkageError. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47780 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/ThreadGroup.java (uncaughtException): Print message totromey2001-12-071-3/+4
| | | | | | | System.err. Required by spec. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47779 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud