]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR libgcj/25265 (linking BC-compiled classes with incompatible changes)
authorAndrew Haley <aph@gcc.gnu.org>
Thu, 8 Dec 2005 15:32:44 +0000 (15:32 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Thu, 8 Dec 2005 15:32:44 +0000 (15:32 +0000)
2005-12-08  Andrew Haley  <aph@redhat.com>

        PR libgcj/25265
        * java-tree.h (enum java_tree_index): Add JTI_SOFT_NOSUCHFIELD_NODE.
        (soft_abstractmethod_node): New.
        * expr.c (build_field_ref): Add in-line check for missing field.
        * decl.c (java_init_decl_processing): Add soft_nosuchfield_node.

2005-12-08  Andrew Haley  <aph@redhat.com>

        PR libgcj/25265
        * java/lang/Object.h (throwNoSuchMethodError): New method.
        * java/lang/Object.java (throwNoSuchMethodError): New method.
        * include/jvm.h (_Jv_ThrowNoSuchFieldError): Declare.
        * link.cc (_Jv_ThrowNoSuchFieldError): New.
        (link_symbol_table): Don't throw a NoSuchFieldError if a field is
        missing.  Instead, set the otable entry to zero.
        (link_symbol_table): If we don't find a nonstatic method, insert
        the vtable offset of Object.throwNoSuchMethodError() into the
        otable.

From-SVN: r108235

gcc/java/ChangeLog
libjava/ChangeLog

index 9e01fd090226784d4a0b87b6a954bfb8393923f5..0dc39ad8047e2e88ce0e72f7ad4823304f02b54b 100644 (file)
@@ -1,5 +1,6 @@
 2005-12-08  Andrew Haley  <aph@redhat.com>
 
+       PR libgcj/25265
        * java-tree.h (enum java_tree_index): Add JTI_SOFT_NOSUCHFIELD_NODE.
        (soft_abstractmethod_node): New.
        * expr.c (build_field_ref): Add in-line check for missing field.
index 57f1d4d4795578bad5768c37060f2ae9e689bda2..aef9f35eb6d5fd5bae9d5806cbb7c9fa560fded7 100644 (file)
@@ -1,5 +1,6 @@
 2005-12-08  Andrew Haley  <aph@redhat.com>
 
+       PR libgcj/25265
        * java/lang/Object.h (throwNoSuchMethodError): New method.
        * java/lang/Object.java (throwNoSuchMethodError): New method.
        * include/jvm.h (_Jv_ThrowNoSuchFieldError): Declare.