--- a/src/java.base/share/classes/sun/nio/ch/Util.java Tue Oct 29 19:23:09 2019 +0000
+++ b/src/java.base/share/classes/sun/nio/ch/Util.java Tue Oct 29 19:55:34 2019 +0000
@@ -282,7 +282,7 @@
* returning to the cache then insert it at the start so that it is
* likely to be returned by a subsequent call to getTemporaryDirectBuffer.
*/
- public static void offerFirstTemporaryDirectBuffer(ByteBuffer buf) {
+ static void offerFirstTemporaryDirectBuffer(ByteBuffer buf) {
// If the buffer is too large for the cache we don't have to
// check the cache. We'll just free it.
if (isBufferTooLarge(buf)) {