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

Omit enclosing instance fields from serializable inner classes that don't use it

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • tools
    • None

      The initial implementation of JDK-8271623 (Omit enclosing instance fields from inner classes that don't use it) applied to serializable classes, but the potential compatibility impact on serialization was not carefully considered in advance. The change broke a JCK test that involved serialization, and was partially reverted in JDK-8277965.

      This bug tracks making the optimization apply to serializable classes again, and will involve a CSR to discuss the compatibility impact on serialization.

            cushon Liam Miller-Cushon
            cushon Liam Miller-Cushon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: