X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=libjava%2FChangeLog;h=df7a417fa7c200aba9ecca75cf974f002c3652e1;hp=203c773eb76e198d8600e8ea2f1d22ea35b4fa86;hb=9d0a2dd5939dee43a9b729fc9e278fa4b07822d0;hpb=fd8011b8f25faaea4bc290033bf9ab7c7fefa434 diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 203c773eb76..df7a417fa7c 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,608 @@ +2002-03-17 Bryce McKinlay + + 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. + +2002-03-16 Bryce McKinlay + + * Makefile.am: Use empty -classpath flag in addition to -bootclasspath. + * Makefile.in: Rebuilt. + +2002-03-15 Anthony Green + + * configure.host (FILE): New macro for specifing File + implementation. + * configure: Rebuilt. + * configure.in: Use FILE. Define HAVE_TIME for newlib targets. + +2002-03-15 Alexandre Oliva + + * 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. + +2002-03-15 Eric Blake + + * THANKS: Fix punctuation, alphabetization. + +2002-03-15 Tom Tromey + Rainer Orth + + Fix for PR libgcj/5944. + * gnu/gcj/io/shs.h: Define uint8_t and uint32_t. + +2002-03-15 Anthony Green + + * configure.in (tool_include_dir): Define. + * configure: Rebuilt. + * gcj/Makefile.am: Install libgcj-config.h relative to + tool_include_dir. + * gcj/Makefile: Rebuilt. + * gcj/libgcj-config.h: Add warning comment. + +2002-03-12 Andreas Tobler + + * configure.host (powerpc*-darwin*): Enable interpreter. + +2002-03-10 Bryce McKinlay + + * include/posix.h: Add multiple include header protection. + * java/net/natPlainSocketImpl.cc: Don't #include . + +2002-03-10 Adam Megacz + + * java/net/natPlainSocketImpl.cc: Added #include . + +2002-03-10 Tom Tromey + + * java/awt/GridLayout.java (layoutContainer): Handle case where + there are no items in container. + + * 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. + +2002-03-09 Tom Tromey + + * 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. + +2002-03-09 Bryce McKinlay + + * java/awt/ImageMediaEntry: Removed. + * java/awt/MediaEntry: Removed. + +2002-03-09 Bryce McKinlay + + 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. + +2002-03-09 Adam Megacz + + * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero + bytes read and no failure code returned. + +2002-03-09 Adam Megacz + + * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake + definitions to simulate -mthreads. + +2002-03-09 Adam Megacz + + * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to + avoid precision loss. + +2002-03-09 Per Bothner + + * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0. + * gnu/gcj/xlib/XImage.java: Likewise. + * gnu/gcj/xlib/XColor.java: Likewise. + +2002-03-09 Adam Megacz + + * java/lang/Win32Process.java (ConcreteProcess): Now throws an + IOException so that Throwable.printStackTrace fails correctly. + +2002-03-08 Adam Megacz + + * java/net/natPlainSocketImpl.cc (read, write, close): Formatting + fixed. + +2002-03-09 Bryce McKinlay + + * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get + truncated to int. + +2002-03-08 Tom Tromey + + * include/jni.h: Include stdio.h. + +2002-03-08 Tom Tromey + + * posix.cc (internal_gettimeofday): New function. + (_Jv_select): Use it. + +2002-03-07 Adam Megacz + + * 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. + +2002-03-07 Adam Megacz + + * 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. + +2002-03-07 Bryce McKinlay + + * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed. + (read): Call recv() directly, not _Jv_recv(). + +2002-03-06 Tom Tromey + + * 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. + + * include/config.h.in: Rebuilt. + * configure: Rebuilt. + * Makefile.in: Rebuilt. + +2002-03-06 Adam Megacz + + * 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. + +2002-03-06 Eric Blake + + * 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. + +2002-03-06 Bryce McKinlay + + * java/awt/MediaTracker.java: Implemented. + * Makefile.am: Add MediaTracker. + * Makefile.in: Rebuilt. + +2002-03-05 Tom Tromey + + * java/lang/natPosixProcess.cc (fail): Removed. + (startProcess): Simplified error-handling. Preserve + LD_LIBRARY_PATH across exec. + + * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not + AbstractMethodError. + +2002-03-03 Bryce McKinlay + + * Makefile.am: Use -bootclasspath, not -CLASSPATH. + * Makefile.in: Rebuilt. + +2002-03-03 Mark Wielaard + + * java/util/Timer (TaskQueue.stop): set elements to zero. + +2002-02-28 Anthony Green + + * java/lang/reflect/natMethod.cc (result): Add void* element. + (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move + constructor test. + +2002-02-27 Adam Megacz + + * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added + '#undef STRICT'. + +2002-02-26 Tom Tromey + + * 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. + +2002-02-26 Andreas Schwab + + * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of + glibcpp_CXX, since libjava uses even another CXX. + * aclocal.m4, configure: Regenerated. + +2002-02-26 Tom Tromey + + * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not + `1'. + +2002-02-25 Bryce McKinlay + + * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes + dependency tracking for .java files. + * Makefile.in: Rebuilt. + +2002-02-24 Adam Megacz + + * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make' + typo. Sorry. + +2002-02-24 Adam Megacz + + * 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. + +2002-02-24 Adam Megacz + + * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new + * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of + delete + +2002-02-24 Adam Megacz + + * java/lang/Win32Process.java: Created a dummy class to allow + build process to run to completion. + +2002-02-24 Jeff Sturm + + * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): + Define ffi_result union for ffi_call result. Cast + ffi_result members to jvalue. + +2002-02-23 Alexandre Oliva + + * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt. + * testsuite/Makefile.in: Likewise. + +2002-02-20 Per Bothner + + * java/net/URL.java (getPath): New JDK 1.3 method. + + * java/net/URLStreamHandler.java (parseURL): + It is wrong to prepend '/' to the file part of a relative url. + + * java/net/URLStreamHandler.java (parseURL): + Minor optizations - append '/' rather than "/". + + * java/net/URLStreamHandler.java (parseURL): + Don't canonicalize "xx/.." or "./" URLs - JDK doesn't. + We probably should canonicalize for a context-relative url, though. + * java/net/URL.java (sameFile): Delegate to URLStreamHandler. + * java/net/URLStreamHandler.java (canonicalizeFilename): New helper. + (sameFile): New method. Uses canonicalizeFilename. + +2002-02-22 Tom Tromey + + * java/lang/natSystem.cc (init_properties): Include the `Inc.' in + 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'. + +2002-02-22 Alexandre Oliva + + * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX. + * aclocal.m4, configure: Rebuilt. + +2002-02-20 Per Bothner + + * gnu/gcj/protocol/file/Connection.java (conect): Open the input + and/or output streams immediately here, instead of using File.exists. + (inputStream, outputStream): New fields to save open streams. + (getInputStream, getOutputStream): Use already-opened streams. + +2002-02-22 Alexandre Oliva + + * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3. + Use it. + * Makefile.am (LIBLINK): Use CXX (and its tag) for linking. + * aclocal.m4, configure, Makefile.in: Rebuilt. + +2002-02-19 Tom Tromey + + Fix for PR libgcj/5696: + * verify.cc (is_assignable_from_slow): Never call + _Jv_IsAssignableFrom. + (verify_instructions_0): Added new debug statement. + (state::print): Print information about whether local has + changed. + (state::merge): Don't call note_variable when merging locals. + (state::set_exception): Removed old FIXME comment. + +2002-02-18 Bryce McKinlay + + * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to + enable SO_BROADCAST. + +2002-02-18 Jason Merrill + + * name-finder.cc (toHex): Use word mode, not long long. + + * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning. + +2002-02-15 Tom Tromey + + Fix for PR libgcj/5695: + * verify.cc (is_assignable_from_slow): Check to see if target is + an Object before checking to see if source is an interface. + (verify_instructions_0) [op_invokeinterface]: Handle case where + we're making an interface call on Object. + +2002-02-15 Bryce McKinlay + + * Makefile.in: Rebuilt with Eric's change below. + + * 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. + +2002-02-14 Eric Blake + + * 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. + +2002-02-14 Mark Wielaard + + * java/math/BigInteger.java: import gnu.java.math.MPN not the whole + package as a workaround for gcj 3.0.x + +2002-02-14 Mark Wielaard + + * java/security/BasicPermission.java: extends with fully qualified + classname as workaround for gcj 3.0.4. + +2002-02-14 Eric Blake + + * java/net/DatagramSocketImpl.java (setOption, getOption): Work + around gcj bug of wrong emitted qualifier for inherited method. + * java/net/SocketImpl.java (setOption, getOption): Ditto. + * java/util/WeakHashMap.java (WeakEntrySet): Add non-private + constructor to reduce amount of emitted bytecode. While this + happens to work around a jikes 1.15 bug, it is still a useful + patch even for correct compilers. + * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto. + * gnu/java/rmi/server/UnicastRemoteCall.java + (DummyObjectOutputStream, DummyObjectInputStream): Ditto. + +2002-02-14 Eric Blake + + * java/net/DatagramSocketImpl.java: Reformat (no code changes). + * java/net/SocketImpl.java: Ditto. + * java/rmi/server/RMIClassLoader.java: Ditto. + * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto. + +2002-02-14 Mark Wielaard + + Thanks to Takashi Okamoto + * java/util/Arrays.java (ArrayList.indexOf()): this.equals(). + * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise. + * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get(). + +2002-02-13 Todd Stock + + Fix for PR libgcj/5670: + * verify.cc (is_assignable_from_slow): If `source' is interface, + recursively look for merge with `target'. + +2002-02-14 Martin Kahlert + + * include/jni.h: Fix typo. + +2002-02-13 Martin Kahlert + + * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned + correctly. + +2002-02-13 Todd Stock + + Fix for PR libgcj/5671: + * verify.cc (state::merge): Handle case where we're merging + against an interface. + +2002-02-12 Tom Tromey + + * exception.cc (std::abort): Mark as noreturn. + +2002-02-12 Adam Megacz + + * java/lang/Win32Process.java: Filled in a placeholder + implementation so Win32 will build. + +2002-02-12 Adam Megacz + + * java/io/natFilePosix.cc: Copied this from natFile.cc. + * java/io/natFile.cc: Removed from repository. + * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}. + +2002-02-12 Adam Megacz + + * win32.cc: Added two #includes to make win32.cc compile. + +2002-02-12 Bryce McKinlay + + * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused + declarations. + (_Jv_InitGC): Don't bother locking, as this is always called from a + single-thread. Turn off GC_all_interior_pointers. Remove dead code. + +2002-02-11 Adam Megacz + + * include/win32.h: Added _Jv_platform_gettimeofday. + * win32.cc (_Jv_platform_gettimeofday): Added dummy function. + +2002-02-11 Adam Megacz + + * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc: + Added #undef STRICT to make windows.h and + java/lang/reflect/Modifier.h cooperate. + +2002-02-11 Adam Megacz + + * java/io/natFileWin32.cc: Created a placeholder class with lots + of FIXMEs. + +2002-02-11 Adam Megacz + + * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed + std::abort() to simply abort(). Also added "fake" std::abort() so + we can #include unwind-pe.h without having to link against + libstdc++-v3. + +2002-02-10 Andreas Tobler + + * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI. + +2002-02-08 Tom Tromey + + * interpret.cc (convert): New function. + (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use + convert. + Include Long.h. + +2002-02-08 Anthony Green + + * configure.host: Add support for xscale-elf embedded target. + +2002-02-08 Martin Kahlert + + * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not + dereferenced. + (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals + frame. + +2002-02-07 Tom Tromey + + * java/io/natFile.cc (_access): Use __builtin_alloca. + (_stat): Likewise. + (attr): Likewise. + (getCanonicalPath): Likewise. + (performList): Likewise. + (performMkdir): Likewise. + (performSetReadOnly): Likewise. + (performRenameTo): Likewise. + (performSetLastModified): Likewise. + (performCreate): Likewise. + (performDelete): Likewise. + +2002-02-08 Bryce McKinlay + + * HACKING: Fix URL for the automake-gcj. + +2002-02-07 Tom Tromey + + * java/lang/natThrowable.cc: Updated copyright. + * 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. + + * include/name-finder.h: Conditionally include sys/wait.h. + * include/config.h.in: Rebuilt. + + * java/io/natFile.cc (_access): Don't stack-allocate buffer. + Size buffer based on real size of string. + (_stat): Likewise. + (attr): Likewise. + (getCanonicalPath): Likewise. + (performList): Likewise. + (performMkdir): Likewise. + (performSetReadOnly): Likewise. + (unixroot): Removed. + (performRenameTo): Likewise. + (performSetLastModified): Likewise. + (performCreate): Likewise. + (performDelete): Likewise. + (performListRoots): Always return new array. + + * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize. + * 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. + + * configure: Rebuilt. + * configure.in: Removed unnecessary parens. + 2002-02-06 Adam Megacz * configure.in: Changed mingw) to *mingw*). @@ -11,8 +616,8 @@ 2002-02-06 Adam Megacz - * shs.h, shs.cc, natSimpleSHSStream.cc: use uint_t instead - of LONG and BYTE + * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc: + use uint_t instead of LONG and BYTE 2002-02-06 Adam Megacz