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

compiler/sharedstubs/SharedTrampolineTest.java fails with "Error: VM option 'PrintRelocations' is develop and is available only in debug version of VM."

XMLWordPrintable

    • b12
    • aarch64
    • generic

      The following test failed in the JDK20 CI:

      compiler/sharedstubs/SharedTrampolineTest.java

      Here's a snippet from the log file:

       stdout: [];
       stderr: [Error: VM option 'PrintRelocations' is develop and is available only in debug version of VM.
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.
      ]
       exitValue = 1

      java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
      at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:490)
      at compiler.sharedstubs.SharedTrampolineTest.runTest(SharedTrampolineTest.java:66)
      at compiler.sharedstubs.SharedTrampolineTest.main(SharedTrampolineTest.java:78)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
      at java.base/java.lang.Thread.run(Thread.java:1589)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]

            dcubed Daniel Daugherty
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: