[jdk21u-dev] RFR: 8355249: Remove the use of WMIC from the entire source code
Taizo Kurashige
tkurashige at openjdk.org
Mon Jun 23 01:18:17 UTC 2025
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 JDK-8340311 is not backported to jdk21. For this reason, I modified Win8301247Test.java instead of WindowsHelper.java.
I confirmed that Win8301247Test.java passes on Windows Server 2022.
-------------
Commit messages:
- Fix typo
- Backport JDK-8355249: Remove the use of WMIC from the entire source code
Changes: https://git.openjdk.org/jdk21u-dev/pull/1912/files
Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1912&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8355249
Stats: 31 lines in 4 files changed: 5 ins; 1 del; 25 mod
Patch: https://git.openjdk.org/jdk21u-dev/pull/1912.diff
Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/1912/head:pull/1912
PR: https://git.openjdk.org/jdk21u-dev/pull/1912
More information about the jdk-updates-dev
mailing list