JDK-8231262 : Suppress warnings on non-serializable instance fields in security libs serializable classes
  • Type: Sub-task
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 14
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-09-19
  • Updated: 2021-09-27
  • 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 :  
Description
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 serializable type.

Such classes may have difficulties being serialized at runtime.

Analogous work in the core libraries is being done under JDK-8231202.
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/6e017b301287 User: darcy Date: 2019-10-09 16:57:58 +0000
09-10-2019

Review thread: https://mail.openjdk.java.net/pipermail/security-dev/2019-September/020672.html
19-09-2019