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

CDS test MethodHandleTest.java failed in -Xcomp mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • 25
    • 25
    • hotspot
    • 25

      The new test from JDK-8351748 is failing in tier6

      ----------System.err:(23/1148)----------
       stdout: [Expected: java.lang.NullPointerException
      MethodHandleTestApp$A.<clinit>
      MethodHandleTestApp$A.staticMethod()
      ];
       stderr: []
       exitValue = 134

      java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [134]
      at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:522)
      at jdk.test.lib.cds.CDSAppTester.executeAndCheck(CDSAppTester.java:189)
      at jdk.test.lib.cds.CDSAppTester.productionRun(CDSAppTester.java:343)
      at jdk.test.lib.cds.CDSAppTester.productionRun(CDSAppTester.java:308)
      at jdk.test.lib.cds.CDSAppTester.runAOTWorkflow(CDSAppTester.java:389)
      at jdk.test.lib.cds.CDSAppTester.run(CDSAppTester.java:364)
      at MethodHandleTest.main(MethodHandleTest.java:53)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
      at java.base/java.lang.Thread.run(Thread.java:1447)

      ==============
      To reproduce, run the test without any vmoptions. It should pass. Then, open the MethodHandleTest.jtr file and cut-and-paste the last command line (which ends with "MethodHandleTestApp PRODUCTION"). Add -Xcomp to this command-line and run.

            iklam Ioi Lam
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: