This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]