From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24836 invoked by alias); 29 Sep 2004 18:36:12 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org Received: (qmail 24820 invoked by uid 48); 29 Sep 2004 18:36:12 -0000 Date: Wed, 29 Sep 2004 18:36:00 -0000 From: "konqueror at gmx dot de" To: java-prs@gcc.gnu.org Message-ID: <20040929183610.17733.konqueror@gmx.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug java/17733] New: class read for the second time X-Bugzilla-Reason: CC X-SW-Source: 2004-q3/txt/msg00732.txt.bz2 List-Id: 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