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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 11
    • 11
    • 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

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

              Created:
              Updated:
              Resolved: