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

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

XMLWordPrintable

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

      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

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

              Created:
              Updated:
              Resolved: