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

a few java/lang tests fail when run w/ limited modules due to NCDFE: javax/tools/JavaFileManager$Location

    Details

      Description

      some java/lang tests fail when run w/ --limit-modules java.logging,java.scripting,java.rmi,java.sql,java.xml

      #section:main
      ----------messages:(4/139)----------
      command: main TestBadSerial
      reason: Assumed action based on file name: run main TestBadSerial
      Mode: othervm
      elapsed time (seconds): 0.559
      ----------configuration:(3/84)----------
      Boot Layer
        limit modules: java.logging java.scripting java.rmi java.sql java.xml

      ----------System.out:(0/0)----------
      ----------System.err:(14/981)----------
      java.lang.NoClassDefFoundError: javax/tools/JavaFileManager$Location
      at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
      at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3129)
      at java.base/java.lang.Class.getMethodsRecursive(Class.java:3270)
      at java.base/java.lang.Class.getMethod0(Class.java:3256)
      at java.base/java.lang.Class.getMethod(Class.java:2057)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:114)
      at java.base/java.lang.Thread.run(Thread.java:844)
      Caused by: java.lang.ClassNotFoundException: javax.tools.JavaFileManager$Location
      at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:552)
      at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:185)
      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:473)
      ... 7 more
      STATUS:Failed.`main' threw exception: java.lang.NoClassDefFoundError: javax/tools/JavaFileManager$Location

        Attachments

          Activity

            People

            • Assignee:
              amlu Amy Lu
              Reporter:
              iignatyev Igor Ignatyev
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: