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-8231262

Suppress warnings on non-serializable instance fields in security libs serializable classes

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: security-libs
    • Labels:
      None

      Description

      Ahead of augmenting javac's serial lint checks under JDK-8160675, it would be helpful to mark fields in security libs classes where the class is serializable, but a non-transient instance field does *not* have a serializable type.

      Such classes may have difficulties being serialized at runtime.

      Analogous work in the core libraries is being done under JDK-8231202.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: