Name: pa48320 Date: 07/31/2002
Thisis similar to 4241540 which was marked fixed in 1.4.0. We are seeing this in 1.4.0_01. We have a class that depends on a class in a jar which itself depends on a class in another jar. If we compile and the third jar is not present, we get the follwoing error:
[javac] Compiling 120 source files to I:\Build\IQUERY_9.1\report_source\iquerymetadata\source\java\build
[javac] An exception has occurred in the compiler (1.4.0_01). 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.
[javac] com.sun.tools.javac.v8.code.Symbol$CompletionFailure: file net\jini\core\entry\Entry.class not found
[javac] at com.sun.tools.javac.v8.code.ClassReader.fillIn(ClassReader.java:1020)
[javac] at com.sun.tools.javac.v8.code.ClassReader.complete(ClassReader.java:977)
[javac] at com.sun.tools.javac.v8.code.Symbol.complete(Symbol.java:375)
[javac] at com.sun.tools.javac.v8.code.Symbol$ClassSymbol.complete(Symbol.java:697)
[javac] at com.sun.tools.javac.v8.code.Symbol$ClassSymbol.flags(Symbol.java:594)
[javac] at com.sun.tools.javac.v8.code.ClassWriter.enterInner(ClassWriter.java:472)
[javac] at com.sun.tools.javac.v8.code.ClassWriter.assembleSig(ClassWriter.java:239)
[javac] at com.sun.tools.javac.v8.code.ClassWriter.assembleSig(ClassWriter.java:252)
[javac] at com.sun.tools.javac.v8.code.ClassWriter.assembleSig(ClassWriter.java:280)
[javac] at com.sun.tools.javac.v8.code.ClassWriter.assembleSig(ClassWriter.java:258)
[javac] at com.sun.tools.javac.v8.code.ClassWriter.typeSig(ClassWriter.java:289)
[javac] at com.sun.tools.javac.v8.code.ClassWriter.writePool(ClassWriter.java:350)
[javac] at com.sun.tools.javac.v8.code.ClassWriter.writeClassFile(ClassWriter.java:738)
[javac] at com.sun.tools.javac.v8.JavaCompiler.writeClass(JavaCompiler.java:336)
[javac] at com.sun.tools.javac.v8.JavaCompiler.genCode(JavaCompiler.java:325)
[javac] at com.sun.tools.javac.v8.JavaCompiler.compile(JavaCompiler.java:425)
[javac] at com.sun.tools.javac.v8.Main.compile(Main.java:526)
[javac] at com.sun.tools.javac.Main.compile(Main.java:32)
[javac] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[javac] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[javac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[javac] at java.lang.reflect.Method.invoke(Method.java:324)
[javac] at org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac13.java:92)
[javac] at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:557)
[javac] at org.apache.tools.ant.Task.perform(Task.java:217)
[javac] at org.apache.tools.ant.Target.execute(Target.java:184)
[javac] at org.apache.tools.ant.Target.performTasks(Target.java:202)
[javac] at org.apache.tools.ant.Project.executeTarget(Project.java:601)
[javac] at org.apache.tools.ant.Project.executeTargets(Project.java:560)
[javac] at org.apache.tools.ant.Main.runBuild(Main.java:454)
[javac] at org.apache.tools.ant.Main.start(Main.java:153)
[javac] at org.apache.tools.ant.Main.main(Main.java:176)
While the compile would have ended at this point anyhow, the traceback is very disconcerting.
======================================================================