Deprecate for removal java.io.ObjectOutputStream.PutField.write

XMLWordPrintable

    • Type: CSR
    • Resolution: Approved
    • Priority: P4
    • 23
    • Component/s: core-libs
    • None
    • binary, behavioral
    • minimal
    • Hide
      This method has been deprecated since 1.4 and is obsolete.
      Changing the deprecation to "removal = true" may cause compilation warnings as a reminder to update any remaining uses.
      Show
      This method has been deprecated since 1.4 and is obsolete. Changing the deprecation to "removal = true" may cause compilation warnings as a reminder to update any remaining uses.
    • Java API
    • SE

      Summary

      The method java.io.ObjectOutputStream.PutField.write(oos) is deprecated for removal.

      Problem

      This obsolete method has been deprecated since 1.4 and should be removed.

      Solution

      Add "forRemoval = true" to the existing @deprecated annotation.

      Specification

      In the java.io.ObjectOutputStream.PutField.write(ObjectOutput out) method add "forRemoval = true" to the deprecated annotation.

      @Deprecated(forRemoval = true, since = "1.4")
          public abstract void write(ObjectOutput out) throws IOException;
      

            Assignee:
            Roger Riggs
            Reporter:
            Roger Riggs
            Iris Clark
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: