Building of test/langtools/jdk/jshell/VariablesTest.java may fail

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 11
    • Affects Version/s: 11
    • Component/s: tools
    • None
    • b01

      After JDK-8191842:
      http://hg.openjdk.java.net/jdk/jdk/rev/a587f95313f1

      Building of test/langtools/jdk/jshell/VariablesTest.java may fail with:
      .../test/langtools/tools/lib/toolbox/JavacTask.java:45: error: package com.sun.tools.javac.api is not visible
      import com.sun.tools.javac.api.JavacTaskImpl;
                                ^
        (package com.sun.tools.javac.api is declared in module jdk.compiler, which does not export it to the unnamed module)
      .../test/langtools/tools/lib/toolbox/JavacTask.java:46: error: package com.sun.tools.javac.api is not visible
      import com.sun.tools.javac.api.JavacTool;
                                ^
        (package com.sun.tools.javac.api is declared in module jdk.compiler, which does not export it to the unnamed module)
      Note: Some input files use unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.
      2 errors

            Assignee:
            Jan Lahoda
            Reporter:
            Jan Lahoda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: