aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
2002-03-21posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier, not ↵Bryce McKinlay4-2/+26
release_set. * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier, not release_set. * sysdep/powerpc/locks.h (write_barrier): New function. * sysdep/i386/locks.h (write_barrier): New function. From-SVN: r51101
2002-03-192002-03-19 Martin Kahlert <martin.kahlert@infineon.com>Martin Kahlert2-1/+5
* include/jni.h Use correct C comments From-SVN: r51046
2002-03-18jni.h (JNIIMPORT): New macro.Tom Tromey2-0/+17
* include/jni.h (JNIIMPORT): New macro. (JNIEXPORT): Likewise. (JNICALL): Likewise. From-SVN: r51009
2002-03-18jni.exp (gcj_jni_test_one): Find libstdc++ in build tree.Tom Tromey2-5/+35
* libjava.jni/jni.exp (gcj_jni_test_one): Find libstdc++ in build tree. (gcj_invoke): Added ld_library_additions argument. From-SVN: r51006
2002-03-18i386-signal.h (old_i386_kernel_sigaction): New.Andrew Haley2-26/+47
2002-03-18 Andrew Haley <aph@cambridge.redhat.com> * include/i386-signal.h (old_i386_kernel_sigaction): New. INIT_SEGV: Use old_i386_kernel_sigaction. INIT_FP: Likewise. From-SVN: r50980
2002-03-18natSystem.cc (init_properties): Update VM version properties.Bryce McKinlay6-109/+162
* java/lang/natSystem.cc (init_properties): Update VM version properties. * configure.in: Set GCJVERSION. * acconfig.h: Add GCJVERSION. * configure: Rebuilt. * include/config.h.in: Rebuilt. From-SVN: r50944
2002-03-17re PR other/5874 (gcc-3.1 20020304 (prerelease) FAILs in libjava testsuite ↵Tom Tromey2-4/+8
with RUNTESTFLAGS="--target_board 'unix{-fPIC,-fpic,}'") * libjava.jni/jni.exp (gcj_jni_build_header): Use local_exec, not target_compile. Fixes PR other/5874. From-SVN: r50923
2002-03-17Add arm thumb supportAnthony Green2-3/+9
From-SVN: r50920
2002-03-17Makefile.am: Escape quotes in echo.Bryce McKinlay3-2/+5
* Makefile.am: Escape quotes in echo. * Makefile.in: Rebuilt. From-SVN: r50905
2002-03-17Makefile.am: Make target library a convenience library.Bryce McKinlay6-287/+281
zlib: * Makefile.am: Make target library a convenience library. * Makefile.in: Rebuilt. libffi: * Makefile.am: libfficonvenience -> libffi_convenience. * Makefile.in: Rebuilt. boehm-gc: * Makefile.am: Make a convenience library. * Makefile.in: Rebuilt. libjava: Build a single libgcj.so, without separate gc and zlib libraries. * configure.in: Use convenience libraries for boehm-gc and zlib. Set SYS_ZLIBS if system zlib is used. * configure: Rebuilt. * Makefile.am: Use boehm-gc and zlib convenience libraries. * Makefile.in: Rebuilt. * libtool-version: Increment .so version number. From-SVN: r50900
2002-03-16Remove conflict indicator.Bryce McKinlay1-1/+0
From-SVN: r50893
2002-03-16Makefile.am: Use empty -classpath flag in addition to -bootclasspath.Bryce McKinlay3-94/+48
* Makefile.am: Use empty -classpath flag in addition to -bootclasspath. * Makefile.in: Rebuilt. From-SVN: r50892
2002-03-16Commit embedded patch approved Feb 17Anthony Green4-230/+244
From-SVN: r50860
2002-03-15Makefile.am (jv_convert_LDADD): Don't list libraries that are already ↵Alexandre Oliva3-28/+86
implicitly brought in from libgcj.la. * Makefile.am (jv_convert_LDADD): Don't list libraries that are already implicitly brought in from libgcj.la. (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise. * Makefile.in: Rebuilt. From-SVN: r50853
2002-03-15THANKS: Fix punctuation, alphabetization.Eric Blake2-11/+14
2002-03-15 Eric Blake <ebb9@email.byu.edu> * THANKS: Fix punctuation, alphabetization. From-SVN: r50851
2002-03-15re PR libgcj/5944 (Use of uint32_t breaks libgcj bootstrap on Solaris 2.5.1)Tom Tromey2-0/+14
2002-03-15 Tom Tromey <tromey@redhat.com> Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> Fix for PR libgcj/5944. * gnu/gcj/io/shs.h: Define uint8_t and uint32_t. Co-Authored-By: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> From-SVN: r50842
2002-03-15Updated THANKSTom Tromey1-0/+5
From-SVN: r50832
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