JDK-4239902 : New compiler can't compile Munge
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 1.3.0
  • Priority: P2
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: solaris_2.6
  • CPU: sparc
  • Submitted: 1999-05-20
  • Updated: 1999-06-11
  • Resolved: 1999-06-11
Related Reports
Relates :  
Description
New compiler can't compile Munge (in build/share/tools/munge).
Here is the output:

sky@zoz:) /usr/local/java/jdk1.3/solaris/bin/java -version
java version "1.3"
Classic VM (build JDK-1.3-D, green threads, sunwjit)
sky@zoz:) /usr/local/java/jdk1.3/solaris/bin/javac Munge.java 


An exception has occurred in the compiler. (v0.8)
Please file a bug report by sending your program and the following diagnostic to
###@###.###.

   Thank you.

java.lang.InternalError: jzentry == 0
	at java.util.zip.ZipFile$2.nextElement(ZipFile.java, Compiled Code)
	at com.sun.tools.javac.v8.code.ClassReader.openArchive(ClassReader.java, Compiled Code)
	at com.sun.tools.javac.v8.code.ClassReader.list(ClassReader.java, Compiled Code)
	at com.sun.tools.javac.v8.code.ClassReader.listAll(ClassReader.java, Compiled Code)
	at com.sun.tools.javac.v8.code.ClassReader.fillIn(ClassReader.java, Compiled Code)
	at com.sun.tools.javac.v8.code.ClassReader.complete(ClassReader.java, Compiled Code)
	at com.sun.tools.javac.v8.code.Symbol.complete(Symbol.java, Compiled Code)
	at com.sun.tools.javac.v8.comp.Enter._case(Enter.java, Compiled Code)
	at com.sun.tools.javac.v8.tree.Tree$TopLevel.visit(Tree.java, Compiled Code)
	at com.sun.tools.javac.v8.comp.Enter.classEnter(Enter.java, Compiled Code)
	at com.sun.tools.javac.v8.comp.Enter.classEnter(Enter.java, Compiled Code)
	at com.sun.tools.javac.v8.comp.Enter.main(Enter.java, Compiled Code)
	at com.sun.tools.javac.v8.JavaCompiler.compile(JavaCompiler.java, Compiled Code)
	at com.sun.tools.javac.v8.Main.compile(Main.java, Compiled Code)
	at com.sun.tools.javac.Main.main(Main.java, Compiled Code)
--------------
Here is the command line args that caused this to happen:

sky@zoz:) echo $CLASSPATH
CLASSPATH: Undefined variable
sky@zoz:) cp /java/jdk/1.3/ws/MASTER/build/share/tools/munge/Munge.java .
sky@zoz:) /usr/local/java/jdk1.3/solaris/bin/javac -classpath ".:/usr/local/java/jdk1.1.8/solaris/lib/classes.zip" Munge.java

scott.violet@eng 1999-06-01

Comments
EVALUATION We are unable to reproduce this bug with the information given. william.maddox@Eng 1999-05-26 We are unable to reproduce the bug. The submitter has verified that he too can not reproduce this bug. There have been no compiler changes that would have caused this problem to go away. There were, however, some recent changes in java.util.zip... iris.garcia@eng 1999-06-10
10-06-1999