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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: tools
    • Subcomponent:
    • Resolved In Build:
      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

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

                Dates

                Created:
                Updated:
                Resolved: