-
Bug
-
Resolution: Fixed
-
P4
-
5.0
-
b51
-
generic
-
generic
-
Verified
JDK : tiger b44
Platforms[s] : all
testbase : /java/sqe4/tools/1.5.0
Failing tests : javam/neg/NoProcessorFound
When processor class file is not found, apt throws compiler exception below.
It should fail, but just with a better error message.
An exception has occurred in the compiler (1.5.0-internal). Please file a bug at the Java Developer Connection (http://java.sun.com/cgi-bin/bugreport.cgi) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you.
java.lang.NoClassDefFoundError: testAP
at testAPF.getProcessorFor(testAPF.java:39)
at com.sun.tools.apt.comp.Apt.main(Apt.java:340)
at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:416)
at com.sun.tools.apt.main.Main.compile(Main.java:876)
at com.sun.tools.apt.main.Main.compile(Main.java:758)
at com.sun.tools.apt.Main.compile(Main.java:41)
at com.sun.tools.apt.Main.main(Main.java:32)
Platforms[s] : all
testbase : /java/sqe4/tools/1.5.0
Failing tests : javam/neg/NoProcessorFound
When processor class file is not found, apt throws compiler exception below.
It should fail, but just with a better error message.
An exception has occurred in the compiler (1.5.0-internal). Please file a bug at the Java Developer Connection (http://java.sun.com/cgi-bin/bugreport.cgi) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you.
java.lang.NoClassDefFoundError: testAP
at testAPF.getProcessorFor(testAPF.java:39)
at com.sun.tools.apt.comp.Apt.main(Apt.java:340)
at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:416)
at com.sun.tools.apt.main.Main.compile(Main.java:876)
at com.sun.tools.apt.main.Main.compile(Main.java:758)
at com.sun.tools.apt.Main.compile(Main.java:41)
at com.sun.tools.apt.Main.main(Main.java:32)