RFR: 8280896: java/nio/file/Files/probeContentType/Basic.java fails on Windows 11
Brian Burkhalter
bpb at openjdk.java.net
Mon Mar 21 18:33:30 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.
> 
> I propose to add this value to expected list.
> Test always fails for me. After fix, test passes. Windows 11.
Marked as reviewed by bpb (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/7334
More information about the nio-dev
mailing list