`Properties.load` uses `java.util.Properties.LineReader`. LineReader already buffers input stream. Hence wrapping InputStream in BufferedInputStream is redundant.
There are few places, where code wraps InputStream in BufferedStream, before call Properties.load. Such places could be cleaned up.
There are few places, where code wraps InputStream in BufferedStream, before call Properties.load. Such places could be cleaned up.
- relates to
-
JDK-8298109 Fix up loading of override java.security properties file
-
- Resolved
-