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

serviceability/sa/TestClassDump.java fails in OpenJDK build.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b38

      Backports

        Description

        serviceability/sa/TestClassDump.java fails in OpenJDK build as it is not able to find the class /jdk/internal/vm/PostVMInitHook.

        java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: jtreg_classes2/jdk/internal/vm/PostVMInitHook.class not found
        at TestClassDump.main(TestClassDump.java:98)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
        at java.base/java.lang.Thread.run(Thread.java:844)
        Caused by: java.lang.RuntimeException: jtreg_classes2/jdk/internal/vm/PostVMInitHook.class not found
        at TestClassDump.dumpClass(TestClassDump.java:80)
        at TestClassDump.main(TestClassDump.java:96)
        ... 6 more

        JavaTest Message: Test threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: jtreg_classes2/jdk/internal/vm/PostVMInitHook.class not found
        JavaTest Message: shutting down test

        result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: jtreg_classes2/jdk/internal/vm/PostVMInitHook.class not found

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  sballal Sharath Ballal
                  Reporter:
                  sballal Sharath Ballal
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: