RFR: 8327096: (fc) java/nio/channels/FileChannel/Size.java fails on partition incapable of creating large files
Daniel Jeliński
djelinski at openjdk.org
Mon Mar 11 09:53:53 UTC 2024
On Thu, 29 Feb 2024 23:54:42 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> If an `IOException` with message "File too large" is thrown while testing with a large file, then ignore the exception if the type of the `FileStore` where the file would be located is "msdos".
test/jdk/java/nio/channels/FileChannel/Size.java line 87:
> 85: FileStore store = p.getFileSystem().provider().getFileStore(p);
> 86: if ("msdos".equals(store.type())) // FAT32
> 87: return; // ignore IOE: file too big for 32 bits
Throwing a SkippedException might be more appropriate here
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18073#discussion_r1519431075
More information about the nio-dev
mailing list