Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8231437

Review serial fields of java.awt.Container

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • tbd
    • 14
    • 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.

            serb Sergey Bylokhov
            darcy Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: