This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug libgcj/24616] linking BC-compiled classes: NoClassDefFoundErrors should be deferred
- From: "aph at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 2 Dec 2005 17:43:58 -0000
- Subject: [Bug libgcj/24616] linking BC-compiled classes: NoClassDefFoundErrors should be deferred
- References: <bug-24616-10268@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #24 from aph at gcc dot gnu dot org 2005-12-02 17:43 -------
This is great, but an additional test case for dynamic method invocation is
needed.
We need to be able to continue if a class T that contains a method that refers
to a missing class M is initialized. At that time, the otable slot for class T
that refers to the missing method must be initialized to point to the offset
for
a method in java.lang.Object that throws NoClassDefFoundError.
This is the proper test case:
class invokeMethod implements Runnable
{
void notCalledMethod()
{
TestClass t = new TestClass();
t.fail();
}
public void run(){
}
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24616