-
Enhancement
-
Resolution: Fixed
-
P4
-
25
-
b22
-
windows
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8362000 | 21.0.9 | Taizo Kurashige | P4 | Resolved | Fixed | master |
WMIC is disabled by default in Windows Server 2025, and it will be removed from Windows in a future release.
See the following Microsoft documentation for more details:
https://learn.microsoft.com/en-us/windows-server/get-started/removed-deprecated-features-windows-server?tabs=ws25#features-no-longer-in-development
In the JDK source code, WMIC is used for build infrastructure and testing. These no longer work on the default Windows Server 2025.
Before it's completely removed, I propose replacing it with PowerShell for WMI.
See the following Microsoft documentation for more details:
https://learn.microsoft.com/en-us/windows-server/get-started/removed-deprecated-features-windows-server?tabs=ws25#features-no-longer-in-development
In the JDK source code, WMIC is used for build infrastructure and testing. These no longer work on the default Windows Server 2025.
Before it's completely removed, I propose replacing it with PowerShell for WMI.
- backported by
-
JDK-8362000 Remove the use of WMIC from the entire source code
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk21u-dev/b407af9c
-
Commit(master) openjdk/jdk/4458719a
-
Review(master) openjdk/jdk11u-dev/3057
-
Review(master) openjdk/jdk17u-dev/3688
-
Review(master) openjdk/jdk21u-dev/1912
-
Review(master) openjdk/jdk/24791
(2 links to)