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

Test tools/javac/file/ExplodedImage.java fails

XMLWordPrintable

    • b97
    • 9

      Testsuite name: langtools
      Test name(s):tools/javac/file/ExplodedImage.java
      Product(s) tested: jdk 9b98
      OS/architecture: Solaris 11 x64 , Solaris 11 sparcv9 , linux x64

      Reproducible: Always

      Is it a Regression: Yes (test passes for jdk 9b96 and fails for jdk 9b97)
      [If Regression] Regression introduced in release/build: jdk 9b97

      Is it a platform specific issue: No (test also failed for linux x64 for jdk 9b98)


      Exception/Error from Log:

      ----------System.err:(78/5298)----------
      testDirectoryStreamClosed(modules/*)
      finished.
      testCanCompileAgainstExplodedImage(modules/*)
      An exception has occurred in the compiler (9-ea). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.
      java.lang.Error: java.io.FileNotFoundException: /export/home/gtee/scripts/Results/workDir/scratch/javahome/lib/tzdb.dat (No such file or directory)
      at sun.util.calendar.ZoneInfoFile$1.run(ZoneInfoFile.java:261)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.util.calendar.ZoneInfoFile.<clinit>(ZoneInfoFile.java:251)
      at sun.util.calendar.ZoneInfo.getTimeZone(ZoneInfo.java:589)
      at java.util.TimeZone.getTimeZone(TimeZone.java:577)
      at java.util.TimeZone.setDefaultZone(TimeZone.java:683)
      at java.util.TimeZone.getDefaultRef(TimeZone.java:653)
      at java.util.TimeZone.getDefault(TimeZone.java:642)
      at java.time.ZoneId.systemDefault(ZoneId.java:274)
      at jdk.nio.zipfs.ZipUtils.dosToJavaTime(ZipUtils.java:117)
      at jdk.nio.zipfs.ZipFileSystem$Entry.cen(ZipFileSystem.java:1914)
      at jdk.nio.zipfs.ZipFileSystem$Entry.readCEN(ZipFileSystem.java:1901)
      at jdk.nio.zipfs.ZipFileSystem.getEntry0(ZipFileSystem.java:1349)
      at jdk.nio.zipfs.ZipFileSystem.getFileAttributes(ZipFileSystem.java:323)
      at jdk.nio.zipfs.ZipPath.getAttributes(ZipPath.java:649)
      at jdk.nio.zipfs.ZipFileSystemProvider.readAttributes(ZipFileSystemProvider.java:283)
      at java.nio.file.Files.readAttributes(Files.java:1739)
      at java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:219)
      at java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:276)
      at java.nio.file.FileTreeWalker.next(FileTreeWalker.java:372)
      at java.nio.file.Files.walkFileTree(Files.java:2712)
      at com.sun.tools.javac.file.JavacFileManager.listArchive(JavacFileManager.java:377)
      at com.sun.tools.javac.file.JavacFileManager.listContainer(JavacFileManager.java:456)
      at com.sun.tools.javac.file.JavacFileManager.list(JavacFileManager.java:568)
      at com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:566)
      at com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:513)
      at com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:295)
      at com.sun.tools.javac.code.ClassFinder.access$000(ClassFinder.java:74)
      at com.sun.tools.javac.code.ClassFinder$1.complete(ClassFinder.java:166)
      at com.sun.tools.javac.code.Symbol.complete(Symbol.java:590)
      at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:299)
      at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:509)
      at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:255)
      at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:270)
      at com.sun.tools.javac.comp.Enter.complete(Enter.java:483)
      at com.sun.tools.javac.comp.Enter.main(Enter.java:467)
      at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:962)
      at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:839)
      at com.sun.tools.javac.api.JavacTaskImpl$1.call(JavacTaskImpl.java:97)
      at com.sun.tools.javac.api.JavacTaskImpl$1.call(JavacTaskImpl.java:93)
      at com.sun.tools.javac.api.JavacTaskImpl.handleExceptions(JavacTaskImpl.java:128)
      at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:93)
      at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:87)
      at ExplodedImage.testCanCompileAgainstExplodedImage(ExplodedImage.java:145)
      at ExplodedImage.run(ExplodedImage.java:70)
      at ExplodedImage.main(ExplodedImage.java:62)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:520)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:747)
      Caused by: java.io.FileNotFoundException: /export/home/gtee/scripts/Results/workDir/scratch/javahome/lib/tzdb.dat (No such file or directory)
      at java.io.FileInputStream.open0(Native Method)
      at java.io.FileInputStream.open(FileInputStream.java:195)
      at java.io.FileInputStream.<init>(FileInputStream.java:138)
      at sun.util.calendar.ZoneInfoFile$1.run(ZoneInfoFile.java:255)
      ... 51 more
      java.lang.IllegalStateException: Could not compile correctly!
      at ExplodedImage.testCanCompileAgainstExplodedImage(ExplodedImage.java:147)
      at ExplodedImage.run(ExplodedImage.java:70)
      at ExplodedImage.main(ExplodedImage.java:62)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:520)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:747)

      JavaTest Message: Test threw exception: java.lang.IllegalStateException: Could not compile correctly!
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.IllegalStateException: Could not compile correctly!

            vromero Vicente Arturo Romero Zaldivar
            vagarwal Vikrant Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: