Integrated: 8290149: java/nio/file/Files/probeContentType/Basic.java fails on Windows Server 2019/2022
KIRIYAMA Takuya
duke at openjdk.org
Thu Jul 14 07:04:57 UTC 2022
On Tue, 12 Jul 2022 06:41:35 GMT, KIRIYAMA Takuya <duke at openjdk.org> wrote:
> On Windows Server 2019/2022, default content type of ".js" is set to "text/plain" in registry.
>
>
> C:\>reg query HKEY_CLASSES_ROOT.js /v "Content Type"
>
> HKEY_CLASSES_ROOT.js
> Content Type REG_SZ text/plain
>
>
> So, "text/plain" should be added for content type of ".js".
>
> I propose to add default registry value to expected list. After fix, test passes on Windows Server 2022.
>
> Could you review this fix, please?
This pull request has now been integrated.
Changeset: adf40d25
Author: KIRIYAMA Takuya <kiriyama.takuya at fujitsu.com>
Committer: Jaikiran Pai <jpai at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/adf40d25a1c53ac4804d013c78558c58edb20b85
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
8290149: java/nio/file/Files/probeContentType/Basic.java fails on Windows Server 2019/2022
Reviewed-by: jpai, lancea
-------------
PR: https://git.openjdk.org/jdk/pull/9459
More information about the nio-dev
mailing list