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

langtools test jdk/javadoc/doclet/testModules/TestModuleServicesLink.java fails with compilation error

XMLWordPrintable

      langtools test jdk/javadoc/doclet/testModules/TestModuleServicesLink.java fails with compilation error

      ----------direct:(11/1161)----------
      /scratch/mesos/work_dir/slaves/312d6566-622b-464b-aaa4-3bf578ae320f-S12/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/ee67b28d-688b-48b0-91a0-0c29247082fb/runs/fded3f68-54c9-4578-a46a-01040909e9ee/srcBundle/langtools/test/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)
      /scratch/mesos/work_dir/slaves/312d6566-622b-464b-aaa4-3bf578ae320f-S12/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/ee67b28d-688b-48b0-91a0-0c29247082fb/runs/fded3f68-54c9-4578-a46a-01040909e9ee/srcBundle/langtools/test/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
      result: Failed. Compilation failed: Compilation failed

            mli Hamlin Li
            mli Hamlin Li
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: