mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-07 00:48:38 +00:00
8141104: jdk.jshell.TaskFactory code for java.specification.version = 1.9 should be adjusted for Verona
Reviewed-by: ksrini, jlahoda
This commit is contained in:
parent
26c71ec728
commit
2804e200a2
@ -80,7 +80,7 @@ class TaskFactory {
|
||||
if (compiler == null) {
|
||||
throw new UnsupportedOperationException("Compiler not available, must be run with full JDK 9.");
|
||||
}
|
||||
if (!System.getProperty("java.specification.version").equals("1.9")) {
|
||||
if (!System.getProperty("java.specification.version").equals("9")) {
|
||||
throw new UnsupportedOperationException("Wrong compiler, must be run with full JDK 9.");
|
||||
}
|
||||
this.fileManager = new MemoryFileManager(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user