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

[TESTBUG] Several JT_HS tests fails due to ClassNotFoundException on compacts

    Details

    • Subcomponent:
    • Introduced In Build:
      b17
    • Resolved In Build:
      b73

      Backports

        Description

        Some tests need an access to classes that don't exist in compact profiles less than 3 and fail.
        Typical message:

        java.lang.NoClassDefFoundError: java/lang/management/ManagementFactory
        at com.oracle.java.testlibrary.ProcessTools.getProcessId(ProcessTools.java:95)
        at JcmdSummaryDiff.main(JcmdSummaryDiff.java:46)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Unknown Source)
        Caused by: java.lang.ClassNotFoundException: java.lang.management.ManagementFactory
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 8 more

        One need to remove such tests from execution on compacts.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  skovalev Sergei Kovalev (Inactive)
                  Reporter:
                  pchistyakov Pavel Chistyakov (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: