[Bug java/17733] New: class read for the second time

konqueror at gmx dot de gcc-bugzilla@gcc.gnu.org
Wed Sep 29 18:36:00 GMT 2004


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



More information about the Gcc-bugs mailing list