--- old/src/java.base/share/classes/com/sun/java/util/jar/pack/PackageReader.java 2019-07-18 12:54:42.000000000 -0700 +++ new/src/java.base/share/classes/com/sun/java/util/jar/pack/PackageReader.java 2019-07-18 12:54:41.000000000 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2016, 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 @@ -75,8 +75,6 @@ */ static class LimitedBuffer extends BufferedInputStream { - static final InputStream NULL_STREAM = InputStream.nullInputStream(); - long served; // total number of charburgers served int servedPos; // ...as of this value of super.pos long limit; // current declared limit @@ -125,7 +123,7 @@ throw new RuntimeException("no skipping"); } LimitedBuffer(InputStream originalIn) { - super(NULL_STREAM, 1<<14); + super(null, 1<<14); servedPos = pos; super.in = new FilterInputStream(originalIn) { public int read() throws IOException {