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

tools/javac/Paths/Diagnostics.sh fails

XMLWordPrintable

    • generic
    • generic

      JDK : Fails: Mustang b85
                            Passes: Mustang b84
      Platform[s] : Fails On: Solaris x86 9 and Win2003 amd64
      Failing Test [s] : tools/javac/Paths/Diagnostics.sh

          Test source location:
          =====================
      /net/cady/export/jdk1.6.0/promoted/all/b85/ws/j2se/test/tools/javac/Paths/Diagnostics.sh

          jtr file location:
          ==================
      /net/cady/export6/results/mustang/b85/reg/regression-reg-IA9-2006-05-26-15-29-25-0651/workDir/tools/javac/Paths/Diagnostics.jtr

          How to reproduce:
          ====================
          - Set JAVA_HOME to Mustang b85 solaris-i586
          - cd /net/cady/export/jdk1.6.0/promoted/all/b85/ws/j2se/test/tools/javac/Paths
          - /net/koori.sfbay/onestop/jct-tools/2.1.6/archive/fcs/binaries/solaris/bin/jtreg -r:/tmp -w:/tmp ./Diagnostics.sh

          Test output:
          ============
      -----------------------------------------------------------------
      /export/jdk/b85/solaris-i586/jdk1.6.0/bin/javac -Xlint -extdirs jars Main.java
      An exception has occurred in the compiler (1.6.0-beta2). 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.
      java.lang.NullPointerException
              at com.sun.tools.javac.util.DefaultFileManager.listDirectory(DefaultFileManager.java:272)
              at com.sun.tools.javac.util.DefaultFileManager.list(DefaultFileManager.java:657)
              at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2009)
              at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1725)
              at com.sun.tools.javac.code.Symbol.complete(Symbol.java:383)
              at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:251)
              at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:445)
              at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:215)
              at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:229)
              at com.sun.tools.javac.comp.Enter.complete(Enter.java:423)
              at com.sun.tools.javac.comp.Enter.main(Enter.java:408)
              at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:736)
              at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:643)
              at com.sun.tools.javac.main.Main.compile(Main.java:327)
              at com.sun.tools.javac.main.Main.compile(Main.java:253)
              at com.sun.tools.javac.main.Main.compile(Main.java:244)
              at com.sun.tools.javac.Main.compile(Main.java:69)
              at com.sun.tools.javac.Main.main(Main.java:54)
      Exception in thread "main" java.lang.NullPointerException
              at com.sun.tools.javac.util.DefaultFileManager.close(DefaultFileManager.java:465)
              at com.sun.tools.javac.main.Main.compile(Main.java:247)
              at com.sun.tools.javac.Main.compile(Main.java:69)
              at com.sun.tools.javac.Main.main(Main.java:54)
      FAIL: Command "/export/jdk/b85/solaris-i586/jdk1.6.0/bin/javac -Xlint -extdirs jars Main.java" printed an unexpected error message
      -----------------------------------------------------------------
      /export/jdk/b85/solaris-i586/jdk1.6.0/bin/javac -Xlint -endorseddirs jars Main.java
      An exception has occurred in the compiler (1.6.0-beta2). 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.
      java.lang.NullPointerException
              at com.sun.tools.javac.util.DefaultFileManager.listDirectory(DefaultFileManager.java:272)
              at com.sun.tools.javac.util.DefaultFileManager.list(DefaultFileManager.java:657)
              at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2009)
              at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1725)
              at com.sun.tools.javac.code.Symbol.complete(Symbol.java:383)
              at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:251)
              at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:445)
              at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:215)
              at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:229)
              at com.sun.tools.javac.comp.Enter.complete(Enter.java:423)
              at com.sun.tools.javac.comp.Enter.main(Enter.java:408)
              at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:736)
              at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:643)
              at com.sun.tools.javac.main.Main.compile(Main.java:327)
              at com.sun.tools.javac.main.Main.compile(Main.java:253)
              at com.sun.tools.javac.main.Main.compile(Main.java:244)
              at com.sun.tools.javac.Main.compile(Main.java:69)
              at com.sun.tools.javac.Main.main(Main.java:54)
      Exception in thread "main" java.lang.NullPointerException
              at com.sun.tools.javac.util.DefaultFileManager.close(DefaultFileManager.java:465)
              at com.sun.tools.javac.main.Main.compile(Main.java:247)
              at com.sun.tools.javac.Main.compile(Main.java:69)
              at com.sun.tools.javac.Main.main(Main.java:54)
      FAIL: Command "/export/jdk/b85/solaris-i586/jdk1.6.0/bin/javac -Xlint -endorseddirs jars Main.java" printed an unexpected error message
      rm -rf Main.java Main.class
      rm -rf classes classes.foo classes.jar classes.war classes.zip
      rm -rf MANIFEST.MF classesRef.jar classesRefRef.jar jars
      FAIL: 2 tests failed

            Unassigned Unassigned
            jaleesunw James Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: