Integrated: 8280896: java/nio/file/Files/probeContentType/Basic.java fails on Windows 11
Andrey Turbanov
aturbanov at openjdk.java.net
Wed Mar 23 19:31:32 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.
This pull request has now been integrated.
Changeset: f9137cb7
Author: Andrey Turbanov <aturbanov at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/f9137cb7b79f86e96247e7b4bc4abb03857afe75
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
8280896: java/nio/file/Files/probeContentType/Basic.java fails on Windows 11
Reviewed-by: jpai, bpb
-------------
PR: https://git.openjdk.java.net/jdk/pull/7334
More information about the nio-dev
mailing list