Skip to content
Browse files
8276845: (fs) java/nio/file/spi/ fails on x86_32
Reviewed-by: alanb
  • Loading branch information
shipilev committed Nov 10, 2021
1 parent e01d6d0 commit 0f463a7bf73791eda9404882ff63daf9040399bb
Showing 1 changed file with 11 additions and 0 deletions.
@@ -28,6 +28,7 @@
import java.nio.file.attribute.FileAttributeView;
import java.nio.file.attribute.UserPrincipalLookupService;
import java.nio.file.spi.FileSystemProvider;
import java.nio.channels.FileChannel;
import java.nio.channels.SeekableByteChannel;
@@ -173,6 +174,16 @@ public SeekableByteChannel newByteChannel(Path file,
return defaultProvider.newByteChannel(delegate, options, attrs);

public FileChannel newFileChannel(Path file,
Set<? extends OpenOption> options,
FileAttribute<?>... attrs)
throws IOException
Path delegate = theFileSystem.unwrap(file);
return defaultProvider.newFileChannel(delegate, options, attrs);

public boolean isHidden(Path file) throws IOException {
throw new ReadOnlyFileSystemException();

1 comment on commit 0f463a7

Copy link

@openjdk-notifier openjdk-notifier bot commented on 0f463a7 Nov 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.