ObjectOutputStream.PutField.put(String name, Object value) should document 'value' can be null

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P5
    • 6
    • Affects Version/s: 6
    • Component/s: core-libs

      In researching 5104197, it was found that a subclass implementation of
      ObjectOutputStream.PutField:

          com.sun.corba.se.impl.io.OutputStreamHook$HookPutFields

      did not accommodate nulls for the Object 'value' argument in the
      HookPutFields.put(String name, Object value) method. The javadoc
      specification for PutField.put does not clearly indicate what should
      be done about a null 'value' argument.

      The intent is for null to be allowed -
      the javadoc specification should be clarified accordingly.

            Assignee:
            Andrey Ozerov
            Reporter:
            Charlie Lai (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: