Bug 22183 - gcj -C fails to compile ant 1.6.5
gcj -C fails to compile ant 1.6.5
Status: RESOLVED FIXED
Product: gcc
Classification: Unclassified
Component: java
4.0.1
: P2 normal
: 4.3.0
Assigned To: Not yet assigned to anyone
:
Depends on: 28067
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-25 12:38 UTC by bero
Modified: 2007-01-09 20:47 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bero 2005-06-25 12:38:31 UTC
Trying to compile ant 1.6.5 using "gcj -C" as javac replacement results in: 
 
src/main/org/apache/tools/ant/IntrospectionHelper.java: In class  
'org.apache.tools.ant.IntrospectionHelper$1':  
src/main/org/apache/tools/ant/IntrospectionHelper.java: In constructor  
'(org.apache.tools.ant.IntrospectionHelper,java.lang.Object,java.lang.Object)':  
src/main/org/apache/tools/ant/IntrospectionHelper.java:495: error: No  
constructor matching  
'(org.apache.tools.ant.IntrospectionHelper,java.lang.Object,java.lang.Object)'  
found in class 'org.apache.tools.ant.IntrospectionHelper$NestedCreator'.  
                   nc = new NestedCreator(null) {  
                                                ^  
  
The same code works file when using ecj as javac.
Comment 1 Tom Tromey 2007-01-09 20:47:51 UTC
All gcj front end bugs have been fixed by the gcj-eclipse branch merge.
I'm mass-closing the affected PRs.
If you believe one of these was closed in error, please reopen it
with a note explaining why.
Thanks.