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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: repo-loom
    • Fix Version/s: repo-loom
    • Component/s: hotspot
    • Labels:

      Description

      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]

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: