File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes java.lang.AssertionError: {unused}. Exception using ant 1.6.5 and JDK1.5.0_10 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "java.lang.AssertionError: {unused}. Exception using ant 1.6.5 and JDK1.5.0_10" Watch "java.lang.AssertionError: {unused}. Exception using ant 1.6.5 and JDK1.5.0_10" New topic
Author

java.lang.AssertionError: {unused}. Exception using ant 1.6.5 and JDK1.5.0_10

ved gunjan
Ranch Hand

Joined: May 17, 2003
Posts: 86
Hi,
Im using apache-ant-1.6.5 and jdk1.5.0_10. When im compiling my application using ant, im getting the following exception.It complains about the compiler crash..
Here's the snap shot of the exception im getting.
---------------------------------------------------------
An exception has occurred in the compiler (1.5.0_10). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you. [javac] java.lang.AssertionError: {unused} [javac] at com.sun.tools.javac.tree.TreeMaker$AnnotationBuilder.visitArray(TreeMaker.java:634) [javac] at com.sun.tools.javac.code.Attribute$Array.accept(Attribute.java:124) [javac] at com.sun.tools.javac.tree.TreeMaker$AnnotationBuilder.translate(TreeMaker.java:637) [javac] at com.sun.tools.javac.tree.TreeMaker$AnnotationBuilder.visitCompoundInternal(TreeMaker.java:628) [javac] at com.sun.tools.javac.tree.TreeMaker$AnnotationBuilder.translate(TreeMaker.java:641) [javac] at com.sun.tools.javac.tree.TreeMaker.Annotation(TreeMaker.java:649) [javac] at com.sun.tools.javac.tree.TreeMaker.Annotations(TreeMaker.java:570) [javac] at com.sun.tools.javac.tree.TreeMaker.VarDef(TreeMaker.java:554) [javac] at com.sun.tools.javac.comp.Lower.visitIterableForeachLoop(Lower.java:2892) [javac] at com.sun.tools.javac.comp.Lower.visitForeachLoop(Lower.java:2755) [javac] at com.sun.tools.javac.tree.Tree$ForeachLoop.accept(Tree.java:597) [javac] at com.sun.tools.javac.comp.Lower.translate(Lower.java:1881) [javac] at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:54) [javac] at com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:145) [javac] at com.sun.tools.javac.comp.Lower.visitBlock(Lower.java:2927) [javac] at com.sun.tools.javac.tree.Tree$Block.accept(Tree.java:535) [javac] at com.sun.tools.javac.comp.Lower.translate(Lower.java:1881) [javac] at com.sun.tools.javac.tree.TreeTranslator.visitMethodDef(TreeTranslator.java:129) [javac] at com.sun.tools.javac.comp.Lower.visitMethodDefInternal(Lower.java:2267) [javac] at com.sun.tools.javac.comp.Lower.visitMethodDef(Lower.java:2186)
-----------------------------------------------------

Can any one tell me what's going on here. I need help urgently as im stuck. Any help will be great.

Thanks Ved.
 
wood burning stoves
 
subject: java.lang.AssertionError: {unused}. Exception using ant 1.6.5 and JDK1.5.0_10
 
Similar Threads
nested class method
I have rewritten my mock exam and put it at http://www.jiris.com/
Compiler Bug
invalid LOC header - How to overcome this Exception?
Found a Bug In JDK 1.3.