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

Nashorn build targets version 9 source

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: infrastructure
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b25

      Description

      The nashorn java code requires a somewhat convoluted compilation. As a result, we use a special java compiler setup, GENERATE_NEWBYTECODE_DEBUG. This explicitly lists -source 9 -target 9, which generates this warning:

      warning: [options] bootstrap class path not set in conjunction with -source 1.9

      when building in jdk10. I assume this is just a mistake, and that it should really target 10. (Or, to always be in sync, perhaps even $(VERSION_MAJOR)).

        Attachments

          Activity

            People

            • Assignee:
              ihse Magnus Ihse Bursie
              Reporter:
              ihse Magnus Ihse Bursie
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: