Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8231641 Suppress warnings on non-serializable non-transient instance fields in JDK libraries (umbrella)
  3. JDK-8231202

Suppress warnings on non-serializable non-transient instance fields in serializable classes

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P4 P4
    • 14
    • 14
    • core-libs
    • None
    • b18

      As work proceeds on JDK-8160675, the non-transient instance fields in serializable classes that do not have a type known statically to be serializable, have have a @SuppressWarnings("serial") annotation added.

      The warning in question is *not* issued for the class has serialPersistentFields defined.

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

              Created:
              Updated:
              Resolved: