[jdk17u-dev] RFR: 8346671: java/nio/file/Files/probeContentType/Basic.java fails on Windows 2025
Goetz Lindenmaier
goetz at openjdk.org
Thu Jan 30 13:16:25 UTC 2025
I backport this because we see problems on our Windows Server 2025 test machines.
I had to resolve.
StaticProperty.osName() 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 2e00816ac30373df28a29dc938f7ce5489a3edfc
Changes: https://git.openjdk.org/jdk17u-dev/pull/3259/files
Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=3259&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8346671
Stats: 6 lines in 1 file changed: 2 ins; 0 del; 4 mod
Patch: https://git.openjdk.org/jdk17u-dev/pull/3259.diff
Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/3259/head:pull/3259
PR: https://git.openjdk.org/jdk17u-dev/pull/3259
More information about the jdk-updates-dev
mailing list