Files
javademos/java28-features/output/13-behaviour-changes.txt
T

25 lines
910 B
Plaintext

$ 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