On Fri, 15 Nov 2024 09:43:15 GMT, Taizo Kurashige <d...@openjdk.org> wrote:

> To resolve tools/jpackage/windows/Win8301247Test.java failure, I made "wmic" 
> executed with "chcp 437". This ensures that the English message "No 
> Instance(s) Available." is output on localized windows platforms.
> 
> I have referred to the following for how to use chcp:
> ・chcp | Microsoft Learn at 
> https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/chcp
> ・Code Page Identifiers - Win32 apps | Microsoft Learn at 
> https://learn.microsoft.com/en-us/windows/win32/intl/code-page-identifiers
> 
> After fix, I ran tools/jpackage tests importing jdk.jpackage.test.Executor or 
> jdk.jpackage.test.WindowsHelper.killAppLauncherProcess on Windows Server 2019 
> (Japanese and English locales). I confirmed that they pass.
> 
> Thanks

This pull request has now been integrated.

Changeset: 48e3b651
Author:    Taizo Kurashige <taizousu...@gmail.com>
Committer: Alexey Semenyuk <asemen...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/48e3b6511adf3d4e97035014612674d84ae83aa0
Stats:     36 lines in 2 files changed: 27 ins; 1 del; 8 mod

8344275: tools/jpackage/windows/Win8301247Test.java fails on localized Windows 
platform

Reviewed-by: asemenyuk, almatvee

-------------

PR: https://git.openjdk.org/jdk/pull/22142

Reply via email to