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

[AOT] error in AotCompiler output in some aot tests

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b150
    • CPU:
      x86
    • OS:
      linux

      Description

      Several tests has next jaotc compilation failures. Fortunately those methods compilation are skipped and tests passed. But we need to clean tests to not have any error messages.

      Error: Failed compilation: compiler.calls.common.InvokeVirtual.main([Ljava/lang/String;)V: org.graalvm.compiler.java.BytecodeParser$BytecodeParserError: java.lang.UnsatisfiedLinkError: sun.hotspot.WhiteBox.registerNatives()V
      at parsing compiler.calls.common.CallsBase.<init>(CallsBase.java:40)
      Error: Failed compilation: compiler.calls.common.InvokeVirtual.<init>()V: org.graalvm.compiler.java.BytecodeParser$BytecodeParserError: java.lang.NoClassDefFoundError: Could not initialize class sun.hotspot.WhiteBox
      at parsing compiler.calls.common.CallsBase.<init>(CallsBase.java:40)

      Next aot tests are affected:
      compiler/aot/calls/fromAot/AotInvokeInterface2AotTest.java
      compiler/aot/calls/fromAot/AotInvokeSpecial2AotTest.java
      compiler/aot/calls/fromAot/AotInvokeStatic2AotTest.java
      compiler/aot/calls/fromAot/AotInvokeVirtual2AotTest.java

        Attachments

          Activity

            People

            • Assignee:
              dpochepk Dmitrij Pochepko
              Reporter:
              kvn Vladimir Kozlov
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: