OSDN Git Service

2000-12-30 Jeffrey Oldham <oldham@codesourcery.com>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
index ac7344f..551c2e6 100644 (file)
@@ -1,3 +1,63 @@
+2000-12-30  Bryce McKinlay  <bryce@albatross.co.nz>
+
+       * Makefile.am (libgcj_la_LIBADD): Add $(THREADLIBS). This ensures that
+       the correct versions of various linuxthreads functions get linked.
+       * Makefile.in: Rebuilt.
+       * java/lang/natThread.cc (finalize_native): New static function. Call
+       _Jv_ThreadDestroyData.
+       (initialize_native): Register finalizer for "data".
+       * include/posix-threads.h (_Jv_ThreadInitData): New simpler prototype.
+       (_Jv_ThreadDestroyData): New prototype.
+       * include/win32-threads.h: Ditto.
+       * include/no-threads.h: Ditto.
+       * posix-threads.cc (_Jv_ThreadInitData): Implement new prototype.
+       (_Jv_ThreadDestroyData): New function. Free native thread "data" and 
+       move mutex and condition variable destroy code from:
+       (really_start): ...here.
+       (_Jv_ThreadStart): Set PTHREAD_CREATE_DETACHED.
+       * win32-threads.cc (_Jv_ThreadInitData): Implement new prototype.
+       (_Jv_ThreadDestroyData): Implemented.
+       * nogc.cc (_Jv_AllocObject): Use "void *" not "ptr_t".
+       (_Jv_AllocArray): Ditto.        
+       
+2000-12-27  Jeff Sturm  <jeff.sturm@commerceone.com>
+
+       * java/sql/DriverManager.java (getConnection): Don't set user/password
+       properties if null.
+
+2000-12-27  Warren Levy  <warrenl@redhat.com>
+
+       Fix for PR libgcj/1358:
+       * java/lang/System.java: Update Copyright date properly.
+       * java/util/Calendar.java: Fix typo in comment.
+       (set): Set 24-hour clock hour instead of 12-hour clock hour.
+       * java/util/GregorianCalendar.java (GregorianCalendar): Properly
+       initialize times.  Spec says to set H:M:S values to zero only if
+       a date is given.
+       * java/util/TimeZone.java (getDefaultDisplayName): Casts to char
+       needed for evaluating numbers '0' to '9' in printouts of GMT offsets.
+       * java/util/natGregorianCalendar.cc (computeTime): Properly handle
+       timezones and GMT offsets, being careful to account for units of
+       milliseconds vs. seconds.
+
+2000-12-28  Bryce McKinlay  <bryce@albatross.co.nz>
+
+       * java/lang/natClass.cc (_Jv_IsAssignableFrom): Primitive TYPEs can
+       not be assigned to Object.
+
+       Fix for PR libgcj/1516:
+       * java/lang/reflect/natMethod.cc (primitives): Remove void entry.
+       Add boolean entry.
+       (can_widen): Declared inline. Remove redundant checks for void 
+       arguments and char->short conversion. Add special case for boolean 
+       conversions.
+       (ffi_type): Declared inline.
+       (_Jv_CallAnyMethodA): Move unwrapping logic inside isPrimitive() block.
+
+2000-12-26  Petter Reinholdtsen  <pere@hungry.com>
+
+       * java/sql/SQLWarning.java: Fixed typo in comment.
+
 2000-12-26  Tom Tromey  <tromey@redhat.com>
 
        * java/awt/MenuItem.java (paramString): Now protected.