[jdk11u-dev] Integrated: 8355249: Remove the use of WMIC from the entire source code

Taizo Kurashige tkurashige at openjdk.org
Mon Aug 11 17:56:26 UTC 2025


On Fri, 4 Jul 2025 02:29:49 GMT, Taizo Kurashige <tkurashige at openjdk.org> wrote:

> Hi all,
> 
> This is a backport of JDK-8355249 : Remove the use of WMIC from the entire source code
> 
> JDK-8355249 is an enhancement, but the future removal of WMIC will affect any version of jdk, so I think it needs to be backported.
> 
> Original patch does not apply cleanly because WindowsHelper.java doesn't exist in jdk11.  WindowsHelper.java was added in jdk14 ([JDK-8212780](https://bugs.openjdk.org/browse/JDK-8212780)). Except for this point, original patch applies cleanly.

This pull request has now been integrated.

Changeset: d2a17d1a
Author:    Taizo Kurashige <tkurashige at openjdk.org>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk11u-dev/commit/d2a17d1acc47020e1be9f2ff31693930802a9caa
Stats:     16 lines in 3 files changed: 4 ins; 1 del; 11 mod

8355249: Remove the use of WMIC from the entire source code

Reviewed-by: phh
Backport-of: 4458719a108f45d3744d47a6ea081fe9ec3e675e

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

PR: https://git.openjdk.org/jdk11u-dev/pull/3057


More information about the jdk-updates-dev mailing list