Java 27 and 26: runnable demos and captured output for every JEP, plus version lanes
Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01B38FGKKam5SCGgwgduVAh3
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
# Behaviour changes that need no new API to observe
|
||||
|
||||
=== a script that pins the VFORK process launch mechanism
|
||||
JDK 26: java -Djdk.lang.Process.launchMechanism=VFORK SpawnProbe
|
||||
VFORK MODE DEPRECATED
|
||||
The VFORK launch mechanism has been deprecated for being dangerous.
|
||||
It will be removed in a future java version. Either remove the
|
||||
JDK 27: java -Djdk.lang.Process.launchMechanism=VFORK SpawnProbe
|
||||
The VFORK launch mechanism has been removed. Switching to FORK instead.
|
||||
Please remove the jdk.lang.Process.launchMechanism property (preferred)
|
||||
or use FORK mode instead (-Djdk.lang.Process.launchMechanism=FORK).
|
||||
|
||||
=== the legacy ISO 639 language codes property (iw, ji, in)
|
||||
JDK 26: java -Djava.locale.useOldISOCodes=true Compat
|
||||
java.version = 26.0.2.1
|
||||
WARNING: The use of the system property "java.locale.useOldISOCodes" is deprecated. It will be removed in a future release of the JDK.
|
||||
Locale("iw").language = iw (Hebrew; old code 'iw', current code 'he')
|
||||
JDK 27: java -Djava.locale.useOldISOCodes=true Compat
|
||||
java.version = 27
|
||||
WARNING: The system property "java.locale.useOldISOCodes" is no longer supported. Any specified value will be ignored.
|
||||
Locale("iw").language = he (Hebrew; old code 'iw', current code 'he')
|
||||
Reference in New Issue
Block a user