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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: