JDK 14 RFR of JDK-8231262: Suppress warnings on non-serializable instance fields in security libs serializable classes

Chris Hegarty chris.hegarty at oracle.com
Fri Sep 27 12:59:18 UTC 2019



On 26/09/2019 21:10, Joe Darcy wrote:
> ..
> 
> Yes; applying SuppressWarnings("serial") to the class will silence this 
> new warning for all the fields. 

Will is also suppress other warnings, like on the serialization-related 
magic methods? Which would be unfortunate.

-Chris.



More information about the security-dev mailing list