mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8230085: (fs) FileStore::isReadOnly is always true on macOS Catalina
Reviewed-by: alanb
This commit is contained in:
parent
c0e1f9ee6c
commit
c57ad7ffc0
4 changed files with 44 additions and 17 deletions
|
@ -33,7 +33,7 @@ class UnixNativeDispatcher {
|
|||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue