Minor clean up and bug fix.
[gcc.git] / libjava / ChangeLog
index f5e4fb787d1155b157096d9aef9393895e4f9eab..ccf334665d1f3df23fc58f502183a4315ff26103 100644 (file)
@@ -1,3 +1,74 @@
+2000-02-26  Anthony Green  <green@cygnus.com>
+
+       * gnu/gcj/io/MimeTypes.java: Test for null.
+
+       * jni.cc (_Jv_JNI_AttachCurrentThread): Minor cleanup.
+       (JNI_GetCreatedJavaVMs): Remove compiler warning.
+
+       * java/net/URLConnection.java: Update copyright notice.
+
+2000-02-25  Tom Tromey  <tromey@cygnus.com>
+
+       * jni.cc (_Jv_JNI_RegisterNatives): Conditionalize body on
+       `INTERPRETER'.
+
+2000-02-25  Bryce McKinlay  <bryce@albatross.co.nz>
+
+       * java/net/URLConnection.java (initializeDateFormats): New
+       private method.
+       (getHeaderFieldDate): Call initializeDateFormats if required.
+       locale, dateFormat1, dateFormat2, dateFormat3: Don't initialize
+       these.
+       Fix for PR libgcj/38.
+
+2000-02-24  Warren Levy  <warrenl@cygnus.com>
+
+       * java/math/BigInteger.java(ival): Made private.
+       (words): Ditto.
+       (neg): Ditto.
+
+2000-02-20  Anthony Green  <green@cygnus.com>
+
+       * Makefile.in: Rebuilt.
+       * Makefile.am (ordinary_java_source_files): Add
+       gnu/gcj/io/DefaultMimeTypes.java and gnu/gcj/io/MimeTypes.java
+
+       * scripts/MakeDefaultMimeTypes.java: New file.
+       * scripts/mime.types: New file.
+       * scripts/classes.pl: Moved from top level.
+       * classes.pl: Moved to scripts directory.
+
+       * java/net/URLConnection.java: Implement guessContentTypeFromName.
+
+       * gnu/gcj/io/MimeTypes.java: New file.
+       * gnu/gcj/io/DefaultMimeTypes.java: New file.
+
+2000-02-20  Tom Tromey  <tromey@cygnus.com>
+
+       * boehm.cc (_Jv_AllocBytes): Clear returned memory.
+
+2000-02-19  Bryce McKinlay  <bryce@albatross.co.nz>
+
+       * java/util/zip/ZipEntry.java (setCrc): Fix overflow.
+       (setSize): ditto.
+
+2000-02-18  Tom Tromey  <tromey@cygnus.com>
+
+       * include/jvm.h (_Jv_GetJavaVM): Declare.
+       * include/java-interp.h (_Jv_GetFirstMethod): New function.
+       (_Jv_MethodBase::get_method): New method.
+       (_Jv_JNIMethod::set_function): New method.
+       * jni.cc (_Jv_JNI_UnregisterNatives): New function.
+       (_Jv_JNI_RegisterNatives): New function.
+       (_Jv_JNIFunctions): Updated for new functions.
+       (_Jv_GetJavaVM): New function.
+       (_Jv_JNI_GetJavaVM): Use it.  Now static.
+       (_Jv_JNI_AttachCurrentThread): Create a new JNIEnv if this thread
+       is already a Java thread but does not have a JNIEnv yet.
+
+       * java/lang/natRuntime.cc (_load): Pass the JavaVM to the onload
+       function.
+
 2000-02-17  Tom Tromey  <tromey@cygnus.com>
 
        * gcj/field.h (_Jv_Field::getClass): Don't use JvAssert.