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

Test sun/tools/jps/TestJps.java fails after JDK-8237572

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Version:
      15
    • Resolved In Build:
      b19

      Description

       LingeredApp stderr: [Error: Could not find or load main class LingeredAppForJps
      Caused by: java.lang.NoClassDefFoundError: jdk/test/lib/apps/LingeredApp
      java.lang.NoClassDefFoundError: jdk/test/lib/apps/LingeredApp
      at java.base/java.lang.ClassLoader.defineClass1(Native Method)
      at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1014)
      at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:151)
      at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:825)
      at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:723)
      at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:646)
      at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:604)
      at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
      at java.base/java.lang.Class.forName0(Native Method)
      at java.base/java.lang.Class.forName(Class.java:431)
      at java.base/sun.launcher.LauncherHelper.loadMainClass(LauncherHelper.java:780)
      at java.base/sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:675)
      Caused by: java.lang.ClassNotFoundException: jdk.test.lib.apps.LingeredApp
      at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:606)
      at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
      ... 13 more
      ]

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              amenkov Alex Menkov
              Reporter:
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: