From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32382 invoked by alias); 27 Aug 2005 20:32:39 -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 32366 invoked by uid 48); 27 Aug 2005 20:32:39 -0000 Date: Sat, 27 Aug 2005 20:32:00 -0000 From: "andreast at gcc dot gnu dot org" To: java-prs@gcc.gnu.org Message-ID: <20050827203238.23597.andreast@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug java/23597] New: Can not compile current classpath with gcj (AbstractDocument.java) X-Bugzilla-Reason: CC X-SW-Source: 2005-q3/txt/msg00430.txt.bz2 List-Id: Gcj bails out in compiling current classpath. Also running mauve test fails: gnu/testlet/javax/swing/text/ElementIterator/ElementIteratorTest.java:87: error: Type 'ElementIterator' not found in the declaration of the local variable 'iter'. ElementIterator iter = new ElementIterator(doc); ^ 1 error Building classpath with jikes succeeds, so I guess it's gcj issue. This patch (http://lists.gnu.org/archive/html/classpath-patches/2005-08/msg00447.html) fixes compilation of classpath, but according to the experts the AbstractDocument.java code is correct. So the patch works around a gcj issue. The sooner or later this bug will appear in gcc, means as soon as a new classpath import has been done. To reproduce, pick classpath cvs and build with a current gcc tree. -- Summary: Can not compile current classpath with gcj (AbstractDocument.java) Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: andreast at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org GCC build triplet: powerpc-apple-darwin8.2.0 GCC host triplet: powerpc-apple-darwin8.2.0 GCC target triplet: powerpc-apple-darwin8.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23597