OSDN Git Service

Obvious fix for systems with no interpreter.
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
index a6e1d94..4636da0 100644 (file)
@@ -1,5 +1,53 @@
+2003-10-24  Anthony Green  <green@redhat.com>
+
+       * java/lang/natClass.cc (_Jv_LinkSymbolTable): Fix case where
+       we have no interpreter.
+
+2003-10-22  Andrew Haley  <aph@redhat.com>
+
+       * java/lang/natClass.cc (initializeClass): Call
+       _Jv_linkExceptionClassTable.
+       (_Jv_LinkSymbolTable): Call )_Jv_ThrowNoSuchMethodError.  Call
+       _Jv_Defer_Resolution on a method whose ncode is NULL.
+       (_Jv_linkExceptionClassTable): New function.
+       (_Jv_LayoutVTableMethods): If superclass looks like a constant pool
+       entry, look it up.
+       * java/lang/Class.h (struct _Jv_CatchClass): New.
+       (_Jv_linkExceptionClassTable): New friend.
+       (_Jv_Defer_Resolution): New friend.
+       (class Class.catch_classes): New field.
+       * include/java-interp.h (Jv_Defer_Resolution): New method.
+       (_Jv_PrepareClass): Make a friend of _Jv_MethodBase.
+       (_Jv_MethodBase.deferred): New field.
+       (_Jv_Defer_Resolution): New function.
+       * resolve.cc (_Jv_PrepareClass): Resolve deferred handlers.
+       * exception.cc (get_ttype_entry): Change return type to void**.
+       (PERSONALITY_FUNCTION): Remove all code related to using a
+       Utf8Const* for a match type.  Change match type to be a pointer to
+       a pointer, rather than a pointer to a Class.
+       * defineclass.cc (handleCodeAttribute): Initialize
+       method->deferred.
+       (handleMethodsEnd): Likewise.
+
+2003-10-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Use
+       _Jv_MutexCheckMonitor instead of accessing mutex.owner directly.
+
 2003-10-22  Tom Tromey  <tromey@redhat.com>
 
+       PR libgcj/12416:
+       * java/lang/Class.h: Updated.
+       * java/lang/natClass.cc (_getFields): Removed.
+       (getFields): Likewise.
+       (getDeclaredFields): Added `public_only' parameter.
+       * java/lang/Class.java (getFields): Now implemented in java; from
+       Classpath.
+       (getDeclaredFields): Likewise.
+       (getDeclaredFields(boolean)): Declare.
+       (_getFields): Removed.
+       (internalGetFields): New method, from Classpath.
+
        PR libgcj/12656:
        * gnu/gcj/runtime/natFirstThread.cc (call_main): Use
        _Jv_LookupDeclaredMethod, not _Jv_GetMethodLocal.