[jdk17u-dev] RFR: 8347286: (fs) Remove some extensions from java/nio/file/Files/probeContentType/Basic.java
Goetz Lindenmaier
goetz at openjdk.org
Sat Mar 15 21:39:01 UTC 2025
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.
-------------
Commit messages:
- Backport d002933c260921d0d582724516d15ebd130b851f
Changes: https://git.openjdk.org/jdk17u-dev/pull/3362/files
Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=3362&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8347286
Stats: 13 lines in 1 file changed: 0 ins; 11 del; 2 mod
Patch: https://git.openjdk.org/jdk17u-dev/pull/3362.diff
Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/3362/head:pull/3362
PR: https://git.openjdk.org/jdk17u-dev/pull/3362
More information about the jdk-updates-dev
mailing list