git: openjdk/jdk: master: 8346722: (fs) Files.probeContentType throws ClassCastException with custom file system provider

Brian Burkhalter bpb at openjdk.org
Fri Jan 10 18:53:29 UTC 2025


Changeset: 4b554b52
Branch: master
Author:    Brian Burkhalter <bpb at openjdk.org>
Date:      2025-01-10 18:50:40 +0000
URL:       https://git.openjdk.org/jdk/commit/4b554b52e627b3a0f5e15a623b12089bff6bfafa

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

Reviewed-by: alanb

! src/java.base/unix/classes/sun/nio/fs/DefaultFileTypeDetector.java
! test/jdk/java/nio/file/spi/SetDefaultProvider.java
! test/jdk/java/nio/file/spi/testapp/testapp/Main.java



More information about the jdk-changes mailing list