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

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b18

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: