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

Backout incorrect change done by JDK-8067801

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 14
    • None
    • core-libs
    • b07
    • generic
    • generic

      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."

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

              Created:
              Updated:
              Resolved: