-
Enhancement
-
Resolution: Fixed
-
P3
-
11
-
b11
-
Verified
Add --enable-preview flag to the jshell tool.
Since jshell only works with the current JVM version and compiled code is immediately executed, passing the --release $N flag to jshell doesn't make sense. This means that when --enable-preview is used on the jshell tool in JDK $N, it will send "--release $N --enable-preview" to javac and "--enable-preview" to the java launcher.
Since jshell only works with the current JVM version and compiled code is immediately executed, passing the --release $N flag to jshell doesn't make sense. This means that when --enable-preview is used on the jshell tool in JDK $N, it will send "--release $N --enable-preview" to javac and "--enable-preview" to the java launcher.
- csr for
-
JDK-8201220 jshell tool: Add support for preview features
-
- Closed
-
- is blocked by
-
JDK-8198908 Add JVM support for preview features
-
- Resolved
-
-
JDK-8198793 Add launcher support for preview features
-
- Closed
-
-
JDK-8199194 Add javac support for preview features
-
- Closed
-
- relates to
-
JDK-8195734 JEP 12: Preview Features
-
- Completed
-