This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/17733] New: class read for the second time
- From: "konqueror at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Sep 2004 18:36:12 -0000
- Subject: [Bug java/17733] New: class read for the second time
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I just tried to compile a jar archive to a native library inside the source
tree where the jar got built. This resulted in the following error message:
gcj-4.0 -g -c jipsi-gcj.jar
de/lohndirekt/print/attribute/DefaultAttribute.java:0: fatal error: reading
class de.lohndirekt.print.attribute.DefaultAttribute for the second time
from ./de/lohndirekt/print/attribute/DefaultAttribute.class
compilation terminated.
My guess is that gcj reads the class once from the jar archive and once
directly from the build tree. strace confirms that its at least read from file
system. I guess this is wrong.
--
Summary: class read for the second time
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: konqueror at gmx dot de
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17733