Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4239902

New compiler can't compile Munge

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P2 P2
    • None
    • 1.3.0
    • tools
    • sparc
    • solaris_2.6

      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

            iris Iris Clark
            svioletsunw Scott Violet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: