Blocks :
|
|
Blocks :
|
|
Blocks :
|
|
CSR :
|
|
Relates :
|
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.