Review serial fields of java.awt.Container

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Cannot Reproduce
    • Priority: P4
    • tbd
    • Affects Version/s: 14
    • Component/s: client-libs
    • 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.

            Assignee:
            Sergey Bylokhov
            Reporter:
            Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: