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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • 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.

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

              Created:
              Updated:
              Resolved: