[jdk17u-dev] RFR: 8347286: (fs) Remove some extensions from java/nio/file/Files/probeContentType/Basic.java

Richard Reingruber rrich at openjdk.org
Mon Mar 17 09:24:57 UTC 2025


On Sat, 15 Mar 2025 21:35:15 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

> I backport this for parity with 17.0.16-oracle
> 
> I had to resolve.
> OperatingSystem.isWindows() is not in 17.
> Also, two changes are missing in 17:
> 
> [8287237: (fs) Files.probeContentType returns null if filename contains hash mark on Linux](https://github.com/openjdk/jdk/commit/8071b2311caaacd714d74f12aee6cb7c2fe700fa)
> [8297609: Add application/wasm MIME type for wasm file extension](https://github.com/openjdk/jdk/commit/914ef07fed960f940e1591318b9f00938b37bf09)
> 
> I don't think these should be backported as prereq.

Looks good.
Cheers, Richard.

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

Marked as reviewed by rrich (Reviewer).

PR Review: https://git.openjdk.org/jdk17u-dev/pull/3362#pullrequestreview-2689700936


More information about the jdk-updates-dev mailing list