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:
2026-09-21 15:08:50 +00:00
committed by Claude
co-authored by Claude Sonnet 5
commit f59c1de96d
152 changed files with 5049 additions and 0 deletions
+68
View File
@@ -0,0 +1,68 @@
# Thread.stop(), suspend(), resume(): when did they actually go?
$ java ThreadStopRuntime (JDK 21)
java.version = 21.0.12.1
Thread.stop(): UnsupportedOperationException
$ java ThreadStopRuntime (JDK 25)
java.version = 25.0.4.1
Thread.stop(): UnsupportedOperationException
$ javac ThreadSuspendGone.java (JDK 21)
exit=0
$ javac ThreadSuspendGone.java (JDK 25)
<repo>/lanes/src/ThreadSuspendGone.java:8: error: cannot find symbol
t.suspend();
^
symbol: method suspend()
location: variable t of type Thread
<repo>/lanes/src/ThreadSuspendGone.java:9: error: cannot find symbol
t.resume();
^
symbol: method resume()
location: variable t of type Thread
2 errors
exit=1
$ javac ThreadSuspendGone.java (JDK 26)
<repo>/lanes/src/ThreadSuspendGone.java:8: error: cannot find symbol
t.suspend();
^
symbol: method suspend()
location: variable t of type Thread
<repo>/lanes/src/ThreadSuspendGone.java:9: error: cannot find symbol
t.resume();
^
symbol: method resume()
location: variable t of type Thread
2 errors
exit=1
$ javac ThreadSuspendGone.java (JDK 23, Corretto image)
/src/ThreadSuspendGone.java:8: error: cannot find symbol
t.suspend();
^
symbol: method suspend()
location: variable t of type Thread
/src/ThreadSuspendGone.java:9: error: cannot find symbol
t.resume();
^
symbol: method resume()
location: variable t of type Thread
2 errors
exit=1
$ javac ThreadSuspendGone.java (JDK 24, Corretto image)
/src/ThreadSuspendGone.java:8: error: cannot find symbol
t.suspend();
^
symbol: method suspend()
location: variable t of type Thread
/src/ThreadSuspendGone.java:9: error: cannot find symbol
t.resume();
^
symbol: method resume()
location: variable t of type Thread
2 errors
exit=1