This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/23597] New: Can not compile current classpath with gcj (AbstractDocument.java)
- From: "andreast at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 27 Aug 2005 20:32:39 -0000
- Subject: [Bug java/23597] New: Can not compile current classpath with gcj (AbstractDocument.java)
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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