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 ifJDK-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.
But even if
- relates to
-
JDK-8141104 jdk.jshell.TaskFactory code for java.specification.version = 1.9 should be adjusted for Verona
-
- Resolved
-
-
JDK-8149519 Set java.specification.version to the MAJOR java version
-
- Resolved
-