Java 27 and 26: runnable demos and captured output for every JEP, plus version lanes

This commit is contained in:
2026-09-21 13:55:46 +00:00
commit eecdf0e444
96 changed files with 3606 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
CHECK ok : "STRASSE".equalsFoldCase("stra\u00DFe") is true (full case folding, sharp s)
CHECK ok : equalsIgnoreCase says false for the same pair (simple folding only)
CHECK ok : "apple".compareToFoldCase("BANANA") < 0
CHECK ok : sorted with String.UNICODE_CASEFOLD_ORDER: [A, b, B, c]
CHECK ok : UUID.ofEpochMillis(..).version() == 7
CHECK ok : the first 48 bits are the timestamp: 018bcfe5-6800-...
CHECK ok : try-with-resources on Process (implements Closeable in 26)
CHECK ok : MemoryMXBean.getTotalGcCpuTime() exists and is non-negative
CHECK ok : ByteOrder is an enum: [LITTLE_ENDIAN, BIG_ENDIAN]
CHECK ok : HttpClient.Version.HTTP_3 exists and is accepted by the builder
CHECK ok : Character.UnicodeBlock.SIDETIC exists (Unicode 17)
exit code: 0