-
Enhancement
-
Resolution: Cannot Reproduce
-
P4
-
14
-
None
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.
- relates to
-
JDK-8231334 Suppress warnings on non-serializable instance fields in client libs serializable classes
- Resolved
-
JDK-8160675 Issue lint warning for non-serializable non-transient instance fields in serializable type
- Resolved