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

Test compiler/floatingpoint/TestPow2.java should be added into :needs_compact3 group

XMLWordPrintable

      Test compiler/floatingpoint/TestPow2.java fails on Compact profiles 1,2 with the following error message:

      ----------System.err:(22/1257)----------
      java.lang.NoClassDefFoundError: sun/management/ManagementFactoryHelper
      at CompilerWhiteBoxTest.getVMOption(CompilerWhiteBoxTest.java:102)
      at CompilerWhiteBoxTest.getVMOption(CompilerWhiteBoxTest.java:122)
      at CompilerWhiteBoxTest.<clinit>(CompilerWhiteBoxTest.java:62)
      at TestPow2.main(TestPow2.java:56)
      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.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.ClassNotFoundException: sun.management.ManagementFactoryHelper
      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)
      ... 10 more

      Accordingly to http://openjdk.java.net/jeps/161 javax.management package appears in Compact 3 and therefore the test should be added into :needs_compact3 group.

            Unassigned Unassigned
            dkononenko Denis Kononenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: