diff options
author | Andrew Haley <aph@gcc.gnu.org> | 2005-12-08 15:32:44 +0000 |
---|---|---|
committer | Andrew Haley <aph@gcc.gnu.org> | 2005-12-08 15:32:44 +0000 |
commit | ccd83be5d60adc34ce892a4650dda435ea3cd60e (patch) | |
tree | 1db8e0683377288e1d4be434fe7c1eec646af666 /gcc/tree-object-size.c | |
parent | 9edd0f5e69ca58b69405b4422907c07abdcc5a7e (diff) | |
download | gcc-ccd83be5d60adc34ce892a4650dda435ea3cd60e.zip gcc-ccd83be5d60adc34ce892a4650dda435ea3cd60e.tar.gz gcc-ccd83be5d60adc34ce892a4650dda435ea3cd60e.tar.bz2 |
re PR libgcj/25265 (linking BC-compiled classes with incompatible changes)
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
Diffstat (limited to 'gcc/tree-object-size.c')
0 files changed, 0 insertions, 0 deletions