RFR: 8346722: (fs) Files.probeContentType throws ClassCastException with custom file system provider [v2]

Alan Bateman alanb at openjdk.org
Fri Jan 10 16:57:45 UTC 2025


On Fri, 10 Jan 2025 16:16:02 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> Ensure the file type detection works with a custom default file system provider.
>
> 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

Marked as reviewed by alanb (Reviewer).

We should probably add the @bug tag in SetDefaultProvider as we've been adding to this when adding tests for custom file system providers.

-------------

PR Review: https://git.openjdk.org/jdk/pull/23019#pullrequestreview-2542968471
PR Comment: https://git.openjdk.org/jdk/pull/23019#issuecomment-2583259389


More information about the nio-dev mailing list