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

tools/javac/flags/LockedFlagClash.java fails to compile

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 16
    • 16
    • tools
    • b14

    Description

      jdk/test/langtools/tools/lib/toolbox/JavacTask.java:365: error: Result.exitCode in package com.sun.tools.javac.main is not accessible
                  return taskImpl.doCall().exitCode;
                                          ^
        (package com.sun.tools.javac.main 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.
      1 error

      TEST RESULT: Failed. Compilation failed: Compilation failed

      Attachments

        Issue Links

          Activity

            People

              jiefu Jie Fu
              jiefu Jie Fu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: