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

jdk.jshell.TaskFactory should use jdk.Version to check for java.specification.version

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b110
    • Verification:
      Not verified

      Description

      Currently, jdk.jshell.TaskFactory does a hard check against java.specification.version being "9". Until JDK-8149519 will be resolved, this check will fail for any newer Java release (i.e. 9.0.0.1).

      But even if JDK-8149519 will be resolved, the check should actually check that java.specification.version is greater or equal to "9". This can be easily done with the new jdk.Version API.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              simonis Volker Simonis
              Reporter:
              simonis Volker Simonis
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: