Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8228392

Backout incorrect change done by JDK-8067801

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 14
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b07
    • CPU:
      generic
    • OS:
      generic

      Description

      java.io.Filter{In,Out}put stream constructors should allow null stream parameter. The constructor javadoc

      "in - the underlying input stream, or null if this instance is to be created without an underlying stream."

      and

      "out - the underlying output stream to be assigned to the field this.out for later use, or null if this instance is to be created without an underlying stream."

      override the package javadoc

      "Unless otherwise noted, passing a null argument to a constructor or method in any class or interface in this package will cause a NullPointerException to be thrown."

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bpb Brian Burkhalter
              Reporter:
              bpb Brian Burkhalter
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: