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

langtools ant build fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b14

      Backports

        Description

        Build langtools using the ant build (in make/langtools) fails with:
        ---
        build-all-classes:
             [exec] /usr/local/home/lahvac/src/jdk/jdk10/src/jdk.jshell/share/classes/jdk/internal/jshell/tool/JShellTool.java:3011: error: cannot find symbol
             [exec] var url = new URL(filename);
             [exec] ^
             [exec] symbol: class var
             [exec] location: class JShellTool
             [exec] /usr/local/home/lahvac/src/jdk/jdk10/src/jdk.jshell/share/classes/jdk/internal/jshell/tool/JShellTool.java:3018: error: cannot find symbol
             [exec] try (var scannerIOContext = new ScannerIOContext(scanner)) {
             [exec] ^
             [exec] symbol: class var
             [exec] location: class JShellTool
             [exec] 2 errors
        ---

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: