JDK 14 RFR of JDK-8231262: Suppress warnings on non-serializable instance fields in security libs serializable classes
Joe Darcy
joe.darcy at oracle.com
Thu Sep 19 17:32:53 UTC 2019
Hello,
Ahead of augmenting javac's serial lint checks under JDK-8160675, it
would be helpful to mark fields in security libs classes where the class
is serializable, but a non-transient instance field does *not* have a
serialiable type. Such classes may have difficulties being serialized at
runtime:
JDK-8231262 : Suppress warnings on non-serializable instance fields
in security libs serializable classes
http://cr.openjdk.java.net/~darcy/8231262.0/
The review thread of the of the analogous core libs change, JDK-8231202:
"Suppress warnings on non-serializable non-transient instance fields in
serializable classes", is out on core-libs:
http://mail.openjdk.java.net/pipermail/core-libs-dev/2019-September/062456.html
Thanks,
-Joe
More information about the security-dev
mailing list