This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/24616] New: linking BC-compiled classes: NoClassDefFoundErrors should be deferred
- From: "thebohemian at gmx dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Nov 2005 16:20:24 -0000
- Subject: [Bug libgcj/24616] New: linking BC-compiled classes: NoClassDefFoundErrors should be deferred
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
In various situations where the BC-compiled classes are linked and a
NoClassDefFoundError is thrown, this error condition should be deferred to the
time when the actual erroneous code location is executed.
The situation always involves that a class cannot be resolved (because the
bytecode is not available). That means:
- invoking a static method of a missing class
- accessing a static member of a missing class
- creating an array from a missing class
- creating a multi array from a missing class
- accessing a valid static member whose type is missing
- accessing a valid non-static field whose type is missing
- invoking a non-static method of a missing class (true?)
There may be more cases. I have to investigate that.
--
Summary: linking BC-compiled classes: NoClassDefFoundErrors
should be deferred
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: thebohemian at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24616