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

tools/javac/completionDeps/DepsAndAnno.java fails after jigsaw m3

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • tools
    • b112
    • Verified

      Test needs @modules to access internal APIs.

      diff --git a/test/tools/javac/completionDeps/DepsAndAnno.java b/test/tools/javac/completionDeps/DepsAndAnno.java
      --- a/test/tools/javac/completionDeps/DepsAndAnno.java
      +++ b/test/tools/javac/completionDeps/DepsAndAnno.java
      @@ -26,6 +26,10 @@
        * @bug 8078600
        * @summary Make sure -XDcompletionDeps does not cause an infinite loop.
        * @library /tools/lib
      + * @modules jdk.compiler/com.sun.tools.javac.api
      + * jdk.compiler/com.sun.tools.javac.file
      + * jdk.compiler/com.sun.tools.javac.main
      + * jdk.jdeps/com.sun.tools.javap
        * @build ToolBox
        * @run main/othervm/timeout=10 DepsAndAnno
        */

            mchung Mandy Chung (Inactive)
            mchung Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: