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

java/net/URLPermission/nstest/lookup.sh NoClassDefFoundError when run in concurrent mode

    Details

    • Subcomponent:
    • Resolved In Build:
      b22

      Backports

        Description

        java/net/URLPermission/nstest/lookup.sh

        when run in concurrent mode, it sometime failed with

        ----------System.err:(13/737)----------
        Exception in thread "main" java.lang.NoClassDefFoundError: jdk/testlibrary/Utils
        at LookupTest.main(LookupTest.java:68)
        Caused by: java.lang.ClassNotFoundException: jdk.testlibrary.Utils
        at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:426)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:359)
        ... 1 more
        Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1
        at LookupTest.main(LookupTest.java:71)

        Run with jtreg4.1/b09, and "-agentvm -conc:16".

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  chegar Chris Hegarty
                  Reporter:
                  amlu Amy Lu
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: