aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
2002-03-15For PR java/5902:Eric Blake3-11/+11
2002-03-15 Eric Blake <ebb9@email.byu.edu> For PR java/5902: * libjava.compile/PR5902.java: Does not need to execute. For PR java/5913: * libjava.compile/PR5913.java: Ditto. From-SVN: r50829
2002-03-15Install libgcj-config.h in a better place.Anthony Green9-375/+425
From-SVN: r50817
2002-03-12configure.host (powerpc*-darwin*): Enable interpreter.Andreas Tobler2-1/+5
2002-03-12 Andreas Tobler <a.tobler@schweiz.ch> * configure.host (powerpc*-darwin*): Enable interpreter. From-SVN: r50686
2002-03-12Test for PR java/5848:Tom Tromey3-0/+21
* libjava.compile/PR5848.xfail: New file. * libjava.compile/PR5848.java: New file. From-SVN: r50674
2002-03-12re PR java/5913 (Core dump for String constant instanceof)Eric Blake2-1/+8
2002-03-12 Eric Blake <ebb9@email.byu.edu> * libjava.compile/PR5913.java: Expand test. From-SVN: r50638
2002-03-12re PR java/5902 (Gcj fails to parse float)Eric Blake4-0/+22
2002-03-11 Eric Blake <ebb9@email.byu.edu> * libjava.compile/PR5902.java: New file. * libjava.compile/PR5913.java: New file. * libjava.compile/PR5913.xfail: New file. From-SVN: r50637
2002-03-11posix.h: Add multiple include header protection.Bryce McKinlay3-1/+10
* include/posix.h: Add multiple include header protection. * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>. From-SVN: r50559
2002-03-11natPlainSocketImpl.cc: Added #include <platform.h>.Adam Megacz2-1/+6
2002-03-10 Adam Megacz <adam@xwt.org> * java/net/natPlainSocketImpl.cc: Added #include <platform.h>. From-SVN: r50556
2002-03-10GridLayout.java (layoutContainer): Handle case where there are no items in ↵Tom Tromey2-0/+9
container. * java/awt/GridLayout.java (layoutContainer): Handle case where there are no items in container. From-SVN: r50539
2002-03-10Win32Process.java: Added comment.Tom Tromey7-6/+45
* java/lang/Win32Process.java: Added comment. * 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. From-SVN: r50536
2002-03-10verify.cc (state::NO_STACK): New constant.Tom Tromey2-22/+64
* verify.cc (state::NO_STACK): New constant. (state::is_unmerged_ret_state): Handle case where stacktop is NO_STACK. (state::merge): Handle NO_STACK merges. (handle_jsr_insn): Invalidate PC, and use special NO_STACK state for instruction following jsr. (stacktop, stackdepth): Removed unused variables. (pop_jump): Ignore case where all remaining states are skipped. From-SVN: r50526
2002-03-10ImageMediaEntry: Removed.Bryce McKinlay3-203/+5
* java/awt/ImageMediaEntry: Removed. * java/awt/MediaEntry: Removed. From-SVN: r50524
2002-03-10Hashtable synchronization for PowerPC.Bryce McKinlay8-499/+410
libjava: 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. From-SVN: r50523
2002-03-10natFileDescriptorWin32.cc (read): Return -1 if zero bytes read and no ↵Adam Megacz2-0/+6
failure code returned. 2002-03-09 Adam Megacz <adam@xwt.org> * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero bytes read and no failure code returned. From-SVN: r50519
2002-03-10configure.in: Define SLOW_PTHREAD_SELF if configure.host set slow_pthread_self.Bryce McKinlay5-0/+257
libjava: * configure.in: Define SLOW_PTHREAD_SELF if configure.host set slow_pthread_self. Set up symlink for sysdeps directory. * 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. * 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 is enabled. boehm-gc: * include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ support is enabled, for hash synchronization. [[Split portion of a mixed commit.]] From-SVN: r50518.2
2002-03-092002-03-09 Adam Megacz <adam@xwt.org>Adam Megacz2-0/+19
* win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake definitions to simulate -mthreads. From-SVN: r50515
2002-03-092002-03-09 Adam Megacz <adam@xwt.org>Adam Megacz2-1/+6
* win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to avoid precision loss. From-SVN: r50511
2002-03-09* gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.Per Bothner4-6/+12
* gnu/gcj/xlib/XImage.java: Likewise. * gnu/gcj/xlib/XColor.java: Likewise. From-SVN: r50498
2002-03-09Win32Process.java (ConcreteProcess): Now throws an IOException so that ↵Adam Megacz2-1/+6
Throwable.printStackTrace fails correctly. 2002-03-09 Adam Megacz <adam@xwt.org> * java/lang/Win32Process.java (ConcreteProcess): Now throws an IOException so that Throwable.printStackTrace fails correctly. From-SVN: r50488
2002-03-09natPlainSocketImpl.cc (read, [...]): Formatting fixed.Adam Megacz2-4/+12
2002-03-08 Adam Megacz <adam@xwt.org> * java/net/natPlainSocketImpl.cc (read, write, close): Formatting fixed. From-SVN: r50481
2002-03-09posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get truncated ↵Bryce McKinlay2-3/+8
to int. * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get truncated to int. From-SVN: r50479
2002-03-08* include/jni.h: Include stdio.h.Tom Tromey2-0/+7
From-SVN: r50457
2002-03-08posix.cc (internal_gettimeofday): New function.Tom Tromey2-2/+19
* posix.cc (internal_gettimeofday): New function. (_Jv_select): Use it. From-SVN: r50442
2002-03-08natPlainSocketImpl.cc: Changed USE_WINSOCK to WIN32, and added thunks for ↵Adam Megacz2-3/+44
read(), write(), and close(). 2002-03-07 Adam Megacz <adam@xwt.org> * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to WIN32, and added thunks for read(), write(), and close(). * java/net/natPlainSocketImpl.cc (accept, read, read): Disabled timeouts on WIN32 pending discussion. From-SVN: r50418
2002-03-08win32.cc (_Jv_platform_gettimeofday): Now takes no args, returns jlong.Adam Megacz6-20/+39
2002-03-07 Adam Megacz <adam@xwt.org> * 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. From-SVN: r50416
2002-03-07natPlainSocketImpl.cc (_Jv_recv): Removed.Bryce McKinlay2-10/+6
* java/net/natPlainSocketImpl.cc (_Jv_recv): Removed. (read): Call recv() directly, not _Jv_recv(). From-SVN: r50391
2002-03-06natFileDescriptorEcos.cc (init): Don't use GetStdHandle.Tom Tromey3-10/+16
* java/io/natFileDescriptorEcos.cc (init): Don't use GetStdHandle. * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD is negative. (init): Don't use GetStdHandle. From-SVN: r50383
2002-03-06config.h.in: Rebuilt.Tom Tromey4-342/+347
* include/config.h.in: Rebuilt. * configure: Rebuilt. * Makefile.in: Rebuilt. From-SVN: r50381
2002-03-06FileDescriptor.java: Initialize in/out/err in init().Adam Megacz5-4/+44
2002-03-06 Adam Megacz <adam@xwt.org> * java/io/FileDescriptor.java: Initialize in/out/err in init(). * java/io/natFileDescriptorWin32.cc (init()): Added function. * java/io/natFileDescriptorPosix.cc (init()): Added function. * java/io/natFileDescriptorEcos.cc (init()): Added function. From-SVN: r50378
2002-03-06Fix ChangeLog date typoEric Blake1-1/+1
From-SVN: r50371
2002-03-06unicode-decomp.pl: Move from chartables.pl...Eric Blake17-84840/+16492
2002-03-04 Eric Blake <ebb9@email.byu.edu> * 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. From-SVN: r50368
2002-03-06MediaTracker.java: Implemented.Bryce McKinlay4-7/+357
* java/awt/MediaTracker.java: Implemented. * Makefile.am: Add MediaTracker. * Makefile.in: Rebuilt. From-SVN: r50349
2002-03-06natPosixProcess.cc (fail): Removed.Tom Tromey2-126/+157
* java/lang/natPosixProcess.cc (fail): Removed. (startProcess): Simplified error-handling. Preserve LD_LIBRARY_PATH across exec. From-SVN: r50342
2002-03-05jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not ↵Tom Tromey2-2/+7
AbstractMethodError. * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not AbstractMethodError. From-SVN: r50337
2002-03-04Remove cvs junkBryce McKinlay1-1/+0
From-SVN: r50271
2002-03-04Makefile.am: Use -bootclasspath, not -CLASSPATH.Bryce McKinlay3-59/+50
* Makefile.am: Use -bootclasspath, not -CLASSPATH. * Makefile.in: Rebuilt. From-SVN: r50270
2002-03-03* java/util/Timer (TaskQueue.stop): set elements to zero.Mark Wielaard2-0/+5
From-SVN: r50254
2002-03-01Oops. A ChangeLog entry got committed prematurely with my last change.Anthony Green1-7/+0
This fixes is. From-SVN: r50196
2002-03-01Add pointer support to the reflection code.Anthony Green2-29/+49
From-SVN: r50180
2002-02-28natInetAddress.cc: Changed USE_WINSOCK to WIN32, added '#undef STRICT'.Adam Megacz2-3/+9
2002-02-27 Adam Megacz <adam@xwt.org> * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added '#undef STRICT'. From-SVN: r50120
2002-02-27natSystem.cc (init_properties): Use __VERSION__.Tom Tromey11-369/+377
* java/lang/natSystem.cc (init_properties): Use __VERSION__. * gij.cc (version): Use __VERSION__. * include/config.h.in: Rebuilt. * acconfig.h (GCJVERSION): Removed. * configure: Rebuilt. * configure.in (GCJVERSION): Removed. From-SVN: r50088
2002-02-27acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of glibcpp_CXX, ↵Andreas Schwab4-355/+350
since libjava uses even another CXX. 2002-02-26 Andreas Schwab <schwab@suse.de> * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of glibcpp_CXX, since libjava uses even another CXX. * aclocal.m4, configure: Regenerated. From-SVN: r50084
2002-02-27natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not `1'.Tom Tromey2-3/+8
* java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not `1'. From-SVN: r50081
2002-02-25Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath.Bryce McKinlay3-3/+8
* Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes dependency tracking for .java files. * Makefile.in: Rebuilt. From-SVN: r50024
2002-02-25natPlainDatagramSocketImpl.cc: whops; removed 'make' typo.Adam Megacz2-1/+6
2002-02-24 Adam Megacz <adam@xwt.org> * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make' typo. Sorry. From-SVN: r50019
2002-02-25natPlainDatagramSocketImpl.cc: Updated #includes for Win32...Adam Megacz2-6/+15
2002-02-24 Adam Megacz <adam@xwt.org> * java/net/natPlainDatagramSocketImpl.cc: Updated #includes for Win32, changed #ifdefs to check WIN32 instead of the (now-obsolete) USE_WINSOCK, and removed support for socket timeouts on Win32 pending further discussion. From-SVN: r50017
2002-02-25win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of newAdam Megacz2-2/+8
2002-02-24 Adam Megacz <adam@xwt.org> * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of delete From-SVN: r50014
2002-02-24Win32Process.java: Created a dummy class to allow build process to run to ↵Adam Megacz2-0/+68
completion. 2002-02-24 Adam Megacz <adam@xwt.org> * java/lang/Win32Process.java: Created a dummy class to allow build process to run to completion. From-SVN: r50013
2002-02-24natMethod.cc (_Jv_CallAnyMethodA): Define ffi_result union for ffi_call result.Jeff Sturm2-1/+48
* java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Define ffi_result union for ffi_call result. Cast ffi_result members to jvalue. From-SVN: r50007
2002-02-24InvokeReturn.java: New file.Jeff Sturm3-0/+89
* libjava.lang/InvokeReturn.java: New file. * libjava.lang/InvokeReturn.out: New file. From-SVN: r50001