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

[TEST_BUG] java/net/SetFactoryPermission/SetFactoryPermission.java should be added into :needs_compact2 group

    Details

    • Subcomponent:
    • Resolved In Build:
      b01
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Test java/net/SetFactoryPermission/SetFactoryPermission.java fails on Compact 1 with the following error:

        ----------System.err:(21/1187)----------
        java.lang.NoClassDefFoundError: java/rmi/server/RMISocketFactory
        at SetFactoryPermission.lambda$main$4(SetFactoryPermission.java:70)
        at SetFactoryPermission.doTest(SetFactoryPermission.java:76)
        at SetFactoryPermission.main(SetFactoryPermission.java:68)
        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: java.rmi.server.RMISocketFactory
        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)
        ... 9 more

        Accordingly to http://openjdk.java.net/jeps/161 the test should be added into needs_compact2 group.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rpatil Ramanand Patil
                  Reporter:
                  dkononenko Denis Kononenko (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: