[jdk17u-dev] Integrated: 8347286: (fs) Remove some extensions from java/nio/file/Files/probeContentType/Basic.java
Goetz Lindenmaier
goetz at openjdk.org
Tue Mar 18 08:44:17 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.
This pull request has now been integrated.
Changeset: 767e504c
Author: Goetz Lindenmaier <goetz at openjdk.org>
URL: https://git.openjdk.org/jdk17u-dev/commit/767e504cc059db7cde7d6811ae664e962ba5ecae
Stats: 13 lines in 1 file changed: 0 ins; 11 del; 2 mod
8347286: (fs) Remove some extensions from java/nio/file/Files/probeContentType/Basic.java
Reviewed-by: rrich
Backport-of: d002933c260921d0d582724516d15ebd130b851f
-------------
PR: https://git.openjdk.org/jdk17u-dev/pull/3362
More information about the jdk-updates-dev
mailing list