OSDN Git Service

2002-03-07 Adam Megacz <adam@xwt.org>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
index 9953c4d..7483b4c 100644 (file)
@@ -1,3 +1,344 @@
+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.
+
+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.
+       
+2002-03-07  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
+
+       * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
+       (read): Call recv() directly, not _Jv_recv().
+
+2002-03-06  Tom Tromey  <tromey@redhat.com>
+
+       * 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  <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.
+
+2002-03-06  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.
+
+2002-03-06  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
+
+       * java/awt/MediaTracker.java: Implemented.
+       * Makefile.am: Add MediaTracker.
+       * Makefile.in: Rebuilt.
+
+2002-03-05  Tom Tromey  <tromey@redhat.com>
+
+       * 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  <bryce@waitaki.otago.ac.nz>
+
+       * Makefile.am: Use -bootclasspath, not -CLASSPATH.
+       * Makefile.in: Rebuilt.
+
+2002-03-03 Mark Wielaard <mark@klomp.org>
+
+       * java/util/Timer (TaskQueue.stop): set elements to zero.
+
+2002-02-28  Anthony Green  <green@redhat.com>
+
+       * java/lang/reflect/natMethod.cc (result): Add void* element.
+       (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments.  Move
+       constructor test.
+
+2002-02-27  Adam Megacz <adam@xwt.org>
+
+       * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
+       '#undef STRICT'.
+
+2002-02-26  Tom Tromey  <tromey@redhat.com>
+
+       * 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  <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.
+
+2002-02-26  Tom Tromey  <tromey@redhat.com>
+
+       * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
+       `1'.
+
+2002-02-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
+
+       * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
+       dependency tracking for .java files.
+       * Makefile.in: Rebuilt.
+
+2002-02-24  Adam Megacz  <adam@xwt.org>
+
+       * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
+       typo. Sorry.
+
+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.
+
+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
+
+2002-02-24  Adam Megacz  <adam@xwt.org>
+
+       * java/lang/Win32Process.java: Created a dummy class to allow
+       build process to run to completion.
+
+2002-02-24  Jeff Sturm  <jsturm@one-point.com>
+
+       * 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  <aoliva@redhat.com>
+
+       * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
+       * testsuite/Makefile.in: Likewise.
+
+2002-02-20  Per Bothner  <per@bothner.com>
+
+       * 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  <tromey@redhat.com>
+
+       * 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  <aoliva@redhat.com>
+
+       * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
+       * aclocal.m4, configure: Rebuilt.
+
+2002-02-20  Per Bothner  <per@bothner.com>
+
+       * 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  <aoliva@redhat.com>
+
+       * 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  <tromey@redhat.com>
+
+       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  <bryce@waitaki.otago.ac.nz>
+
+       * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
+       enable SO_BROADCAST.
+
+2002-02-18  Jason Merrill  <jason@redhat.com>
+
+       * 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  <tromey@redhat.com>
+
+       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  <bryce@waitaki.otago.ac.nz>
+
+       * 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  <ebb9@email.byu.edu>
+
+       * 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  <mark@klomp.org>
+
+       * 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 <mark@klomp.org>
+
+       * java/security/BasicPermission.java: extends with fully qualified
+       classname as workaround for gcj 3.0.4.
+
+2002-02-14  Eric Blake  <ebb9@email.byu.edu>
+
+       * 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  <ebb9@email.byu.edu>
+
+       * 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 <mark@klomp.org>
+
+       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  <toddastock@yahoo.com>
+
+       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  <martin.kahlert@infineon.com>
+
+       * include/jni.h: Fix typo.
+
+2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>
+
+       * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
+       correctly.
+
+2002-02-13  Todd Stock  <toddastock@yahoo.com>
+
+       Fix for PR libgcj/5671:
+       * verify.cc (state::merge): Handle case where we're merging
+       against an interface.
+
+2002-02-12  Tom Tromey  <tromey@redhat.com>
+
+       * exception.cc (std::abort): Mark as noreturn.
+
+2002-02-12  Adam Megacz <adam@xwt.org>
+
+        * java/lang/Win32Process.java: Filled in a placeholder
+       implementation so Win32 will build.
+
+2002-02-12  Adam Megacz <adam@xwt.org>
+
+        * 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 <adam@xwt.org>
+
+       * win32.cc: Added two #includes to make win32.cc compile.
+
+2002-02-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
+
+       * 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 <adam@xwt.org>
+
+       * include/win32.h: Added _Jv_platform_gettimeofday.
+       * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
+
 2002-02-11  Adam Megacz <adam@xwt.org>
 
        * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc: