8228392: Backout incorrect change done by JDK-8067801

Reviewed-by: lancea
This commit is contained in:
Brian Burkhalter 2019-07-18 17:10:33 -07:00
parent e396e38bb3
commit ba9c952f87
6 changed files with 10 additions and 99 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1994, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1994, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -59,9 +59,6 @@ class FilterInputStream extends InputStream {
* this instance is to be created without an underlying stream.
*/
protected FilterInputStream(InputStream in) {
if (in == null) {
throw new NullPointerException();
}
this.in = in;
}

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1994, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1994, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -67,10 +67,6 @@ public class FilterOutputStream extends OutputStream {
* created without an underlying stream.
*/
public FilterOutputStream(OutputStream out) {
if (out == null) {
throw new NullPointerException();
}
this.out = out;
}