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

appcds/redefineClass/RedefineRunningMethods_Shared.java test fails in loom repo

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • repo-loom
    • repo-loom
    • hotspot

      appcds/redefineClass/RedefineRunningMethods_Shared.java fails in the loom repo as follows:

      Exception in thread "main" java.lang.RuntimeException: Test set-up problem. This class should be shared but isn't: RedefineRunningMethods
              at RedefineRunningMethods_SharedHelper.main(RedefineRunningMethods_SharedHelper.java:39)
      ]
       exitValue = 1

      java.lang.RuntimeException: Expected to get exit value of [0]

              at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:489)
              at jdk.test.lib.cds.CDSTestUtils.checkExec(CDSTestUtils.java:468)
              at jdk.test.lib.cds.CDSTestUtils.checkExec(CDSTestUtils.java:457)
              at RedefineRunningMethods_Shared.main(RedefineRunningMethods_Shared.java:76)
              at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
              at java.base/java.lang.reflect.Method.invoke(Method.java:577)
              at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
              at java.base/java.lang.Thread.run(Thread.java:1493)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0]

            ccheung Calvin Cheung
            ccheung Calvin Cheung
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: