RFR: 8346722: (fs) Files.probeContentType throws ClassCastException with custom file system provider [v2]
Brian Burkhalter
bpb at openjdk.org
Fri Jan 10 16:32:42 UTC 2025
On Fri, 10 Jan 2025 12:37:13 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8346722: Ignore value returned by probeContentType; prune imports in DefaultFileTypeDetector
>
> src/java.base/unix/classes/sun/nio/fs/DefaultFileTypeDetector.java line 36:
>
>> 34:
>> 35: public static FileTypeDetector create() {
>> 36: FileSystemProvider provider = FileSystems.getDefault().provider();
>
> I assume the imports can be pruned now.
Pruned in 1be6091.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23019#discussion_r1910626243
More information about the nio-dev
mailing list