OSDN Git Service

2001-08-17 Mark J Roberts <mjr@anarcast.net>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
index f3dd682..1567a3d 100644 (file)
@@ -1,3 +1,120 @@
+2001-08-17  Mark J Roberts  <mjr@anarcast.net>
+
+       * java/math/BigInteger.java (randBytes): New method.
+       (BigInteger(int,Random)): Use randBytes.
+
+2001-08-17  Tom Tromey  <tromey@redhat.com>
+
+       * gnu/gcj/convert/IOConverter.java: Add `646' alias.
+
+2001-08-17  Hans-J. Boehm <Hans_Boehm@hp.com>
+
+       * BigInteger.java: fix right shifts by nonzero multiples of 32.
+       
+2001-08-15  Tom Tromey  <tromey@redhat.com>
+
+       * jni.cc: Include IdentityHashMap.h, not Hashtable.h.
+       (local_ref_table, global_ref_table): Now IdentityHashMap.
+       (_Jv_JNI_Init): Updated for new types.
+       (mark_for_gc): Likewise.
+       (unmark_for_gc): Likewise.
+       * gcj/javaprims.h: Rebuilt class list.
+       * Makefile.in: Rebuilt.
+       * Makefile.am (core_java_source_files): Added new file.
+       * java/util/IdentityHashMap.java: New file.
+
+       * gnu/gcj/convert/natIconv.cc (read): Handle EINVAL and E2BIG
+       correctly.
+
+2001-08-09  Tom Tromey  <tromey@redhat.com>
+
+       * java/awt/image/SampleModel.java (getPixel): Set correct array
+       element.  From Chris Meyer.
+
+2001-08-10  Loren J. Rittle  <ljrittle@acm.org>
+
+       * java/lang/natObject.cc (is_mp): Protect use of _SC_NPROCESSORS_ONLN.
+       * gnu/gcj/convert/natIconv.cc (done): Use HAVE_ICONV.
+
+2001-08-06  Tom Tromey  <tromey@redhat.com>
+
+       * java/io/InputStreamReader.java (refill): Only call refill on
+       BufferedInputStream when appropriate constraints are met.
+
+2001-08-05  Tom Tromey  <tromey@redhat.com>
+
+       * java/io/StringWriter.java: Merged with Classpath.
+       * java/io/InputStream.java: Merged with Classpath.
+       * java/io/OutputStream.java: Merged with Classpath.
+       * java/io/PushbackInputStream.java: Merged with Classpath.
+       * java/io/CharArrayReader.java: Merged with Classpath.
+       * java/io/CharArrayWriter.java: Merged with Classpath.
+
+2001-08-02  Tom Tromey  <tromey@redhat.com>
+
+       * prims.cc (JNI_OnLoad): Don't declare.
+       (_JNI_OnLoad): Don't define.
+       (_Jv_CreateJavaVM): Don't handle JNI_OnLoad.
+
+2001-08-02  Tom Tromey  <tromey@redhat.com>
+
+       * java/io/RandomAccessFile.java (seek): Let seek go past end of
+       file.
+       (skipBytes): Don't fail if seeking past end of file.
+       * java/io/FileInputStream.java (skip): Don't fail if seeking past
+       end of file.
+       * java/io/natFileDescriptorWin32.cc (seek): Handle `eof_trunc'
+       argument.
+       * java/io/natFileDescriptorEcos.cc (seek): Handle `eof_trunc'
+       argument.
+       * java/io/natFileDescriptorPosix.cc (seek): Handle `eof_trunc'
+       argument.
+       * java/io/FileDescriptor.java (seek): Added `eof_trunc' argument.
+
+2001-08-02  Martin Kahlert  <martin.kahlert@infineon.com>
+
+       * jni.cc (JNI_CreateJavaVM): Call _Jv_JNI_Init in order
+       to initialize global_ref_table/local_ref_table.
+
+2001-08-02  Tom Tromey  <tromey@redhat.com>
+
+       * configure: Rebuilt.
+       * configure.in (THREADSPEC): Don't set THREADLIBS on Cygwin.  From
+       David Billinghurst.
+
+2001-08-01  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * include/posix.h (_POSIX_PII_SOCKET): Define.
+       * configure.in (HAVE_SOCKLEN_T): Define.
+       * java/net/natPlainSocketImpl.cc [!HAVE_SOCKLEN_T]: Move socklen_t
+       definition up. 
+       (_JV_accept): New function, avoids Tru64 UNIX accept macro.
+       (java::net::PlainSocketImpl::accept): Use it.
+       Fixes PRs libgcj/3694, libgcj/3696.
+       
+       * configure.in (HAVE_STRUCT_IPV6_MREQ): New test.
+       * acconfig.h (HAVE_STRUCT_IPV6_MREQ): Provide template.
+       * configure, include/config.h.in: Regenerate.
+       * java/net/natPlainDatagramSocketImpl.cc (union McastReq): Use it.
+       (mcastGrp): Likewise.
+       (java::net::PlainDatagramSocketImpl::setOption): Guard against
+       missing IPV6_MULTICAST_IF.
+       Fixes PR libgcj/3694.
+
+2001-08-01  Jeff Sturm  <jsturm@one-point.com>
+
+       * libgcj.spec.in: Pass -fkeep-inline-functions to jc1.
+
+2001-07-30  Christian Iseli  <chris@ludwig-alpha.unil.ch>
+
+       * Makefile.in: Rebuilt.
+       * Makefile.am (GCJLINK): Added --tag=GCJ.
+       (LIBLINK): Likewise.
+
+2001-07-30  Tom Tromey  <tromey@redhat.com>
+
+       * java/util/Date.java: Re-merged with Classpath.
+
 2001-07-30  Jeff Sturm  <jsturm@one-point.com>
 
        * java/net/natPlainDatagramSocketImpl.cc: Undefine bind if defined.