RFR: 8280896: java/nio/file/Files/probeContentType/Basic.java fails on Windows 11
Jaikiran Pai
jpai at openjdk.java.net
Mon Mar 21 11:10:33 UTC 2022
On Thu, 3 Feb 2022 08:22:42 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:
> Test fails because actual content type `application/jar` is not in allowed list of types: `application/java-archive`, `application/x-java-archive`.
> But Amazon Corretto installer set this content type to Windows registry.
> ![изображение](https://user-images.githubusercontent.com/741251/152308738-58d790ea-167a-45c7-9e08-8d619c4f316d.png)
> I propose to add this value to expected list.
> Test always fails for me. After fix, test passes. Windows 11.
Marked as reviewed by jpai (Committer).
This change looks fine to me. You'll however need a Reviewer for this to be approved.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7334
More information about the nio-dev
mailing list