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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: tools
    • None
    • b110
    • Not verified

      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.

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

              Created:
              Updated:
              Resolved: