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

compiler/compilercontrol/commands/PrintTest failed with ClassFormatError: Truncated class file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: None
    • Component/s: hotspot

      Description

       stderr: [Java HotSpot(TM) 64-Bit Server VM warning: printing of assembly code is enabled; turning on DebugNonSafepoints to gain additional output
      Exception in thread "main" java.lang.ClassFormatError: Truncated class file
      at java.lang.ClassLoader.findBootstrapClass(Native Method)
      at java.lang.ClassLoader.findBootstrapClassOrNull(ClassLoader.java:1007)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:412)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:410)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:262)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
      at compiler.compilercontrol.share.actions.CompileAction.<clinit>(CompileAction.java:39)
      at compiler.compilercontrol.share.actions.BaseAction.lambda$check$2(BaseAction.java:141)
      at java.util.ArrayList.forEach(ArrayList.java:1262)
      at compiler.compilercontrol.share.actions.BaseAction.check(BaseAction.java:139)
      at compiler.compilercontrol.share.actions.BaseAction.communicate(BaseAction.java:100)
      at compiler.compilercontrol.share.actions.BaseAction.main(BaseAction.java:59)
      ]
       exitValue = 1

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            gziemski Gerard Ziemski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: