A DESCRIPTION OF THE PROBLEM :
FilterInputStream passes through the original methods of InputStream to the wrapped stream. This means that all uses of a FilterInputStream will use the default implementations of the new methods on InputStream, rather than any overridden implementations available on the wrapped stream implementation. This may lead to performance issues.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
FilterInputStream should override and pass through the new methods added to InputStream - readAllBytes and readNBytes
FilterInputStream passes through the original methods of InputStream to the wrapped stream. This means that all uses of a FilterInputStream will use the default implementations of the new methods on InputStream, rather than any overridden implementations available on the wrapped stream implementation. This may lead to performance issues.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
FilterInputStream should override and pass through the new methods added to InputStream - readAllBytes and readNBytes
- relates to
-
JDK-8273513 Make java.io.FilterInputStream specification more precise about overrides
-
- Resolved
-
- links to
-
Review openjdk/jdk/5367
FilterInputStream is missing implementations of Java 9 InputStream methods
A DESCRIPTION OF THE PROBLEM :
FilterInputStream passes through the original methods of InputStream to the wrapped stream. This means that all uses of a FilterInputStream will use the default implementations of the new methods on InputStream, rather than any overridden implementations available on the wrapped stream implementation. This may lead to performance issues.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
FilterInputStream should override and pass through the new methods added to InputStream - readAllBytes and readNBytes
FilterInputStream passes through the original methods of InputStream to the wrapped stream. This means that all uses of a FilterInputStream will use the default implementations of the new methods on InputStream, rather than any overridden implementations available on the wrapped stream implementation. This may lead to performance issues.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
FilterInputStream should override and pass through the new methods added to InputStream - readAllBytes and readNBytes
- relates to
-
JDK-8273513 Make java.io.FilterInputStream specification more precise about overrides
-
- Resolved
-
- links to
-
Review openjdk/jdk/5367