RFR [8014657] CheckedInputStream.skip allocates temporary buffer on every call

Ivan Gerasimov ivan.gerasimov at oracle.com
Wed May 15 15:40:50 UTC 2013


Please have a chance to review a simple change proposal.

CheckedInputStream.skip() allocates temporary buffer on every call.
It's suggested to have a temporary buffer that is initialized on the 
first use and can be reused during subsequent calls to the skip() function.
Many other input streams already use the same approach.



More information about the core-libs-dev mailing list