--- old/src/java.base/unix/classes/sun/nio/fs/UnixNativeDispatcher.java 2019-09-13 08:01:47.000000000 -0700 +++ new/src/java.base/unix/classes/sun/nio/fs/UnixNativeDispatcher.java 2019-09-13 08:01:47.000000000 -0700 @@ -33,7 +33,7 @@ protected UnixNativeDispatcher() { } // returns a NativeBuffer containing the given path - private static NativeBuffer copyToNativeBuffer(UnixPath path) { + static NativeBuffer copyToNativeBuffer(UnixPath path) { byte[] cstr = path.getByteArrayForSysCalls(); int size = cstr.length + 1; NativeBuffer buffer = NativeBuffers.getNativeBufferFromCache(size);