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

Brian Burkhalter bpb at openjdk.org
Fri Jan 10 16:11:46 UTC 2025


On Fri, 10 Jan 2025 12:39:09 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> I would be worried that it returns something based on the name of the directory, is that possible?

I doubt it, but it might be prudent to ignore the returned value to avert future noise.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23019#discussion_r1910593145


More information about the nio-dev mailing list