JDK-8231437 : Review serial fields of java.awt.Container
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 14
  • Priority: P4
  • Status: Closed
  • Resolution: Cannot Reproduce
  • Submitted: 2019-09-25
  • Updated: 2020-01-20
  • Resolved: 2020-01-20
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.
Other
tbdResolved
Related Reports
Relates :  
Relates :  
Description
During the code review of JDK-8231334, is was observed that some of non-transient instance fields of java.awt.Container are not accessed by its writeObject method, which uses the putFields mechanism rather than defaultWriteObject. The non-accessed fields are effectively transient and could be marked accordingly, removing the need to suppress a warning for a non-serializable non-transient field.
Comments
I cannot find such fields, the "accessibleContainerHandler" mentioned during the review of JDK-8231334 is located in the nested AccessibleAWTContainer class, not the Container class itself.
20-01-2020