JDK-8231202 : Suppress warnings on non-serializable non-transient instance fields in serializable classes
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.util
  • Affected Version: 14
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-09-18
  • Updated: 2019-10-14
  • Resolved: 2019-10-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 14
14 b18Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
As work proceeds on JDK-8160675, the non-transient instance fields in serializable classes that do not have a type known statically to be serializable, have have a @SuppressWarnings("serial") annotation added.

The warning in question is *not* issued for the class has serialPersistentFields defined.
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/e036ee8bae56 User: darcy Date: 2019-10-09 17:18:13 +0000
09-10-2019

Review thread: http://mail.openjdk.java.net/pipermail/core-libs-dev/2019-September/062456.html
18-09-2019