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

[AOT] error in AotCompiler output in some aot tests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • b150
    • x86
    • linux

      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

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

              Created:
              Updated:
              Resolved: