Add java28-features module: the JDK 28 JEP list so far, one example per JEP on 28-ea+26, behaviour changes against JDK 27

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b7N4ZDbUtA3ofqAqRV
This commit is contained in:
asmhatre
2026-12-03 09:10:29 +05:30
co-authored by Claude Sonnet 5.5
parent c0062ea398
commit d4b8552957
37 changed files with 767 additions and 0 deletions
@@ -0,0 +1,24 @@
$ JDK 27: java behaviour/Behaviour.java
-- ListFormat with single quotes in a custom pattern
[ {0}, foo ]
-- RSA/ECB/PKCS1Padding
cipher initialised
-- canonical size_t layout
j8 equals JAVA_LONG: true
-- ReflectionFactory on a non-serializable class
one-arg : Behaviour$NotSerializable()
two-arg : returned a constructor
$ JDK 28: java behaviour/Behaviour.java
-- ListFormat with single quotes in a custom pattern
[ 'bar', foo ]
-- RSA/ECB/PKCS1Padding
WARNING: An outdated Cipher algorithm has been called by Behaviour (file:behaviour/Behaviour.java)
WARNING: RSA/ECB/PKCS1Padding will be disabled by default in a future release
cipher initialised
-- canonical size_t layout
uj8 equals JAVA_LONG: false
-- ReflectionFactory on a non-serializable class
one-arg : null
two-arg : UnsupportedOperationException: Run with -Djdk.reflect.allowNonSerializableConstruction=true to temporarily re-enable this method