Re: RFR: 8355249: Remove the use of WMIC from the entire source code [v2]

2025-05-06 Thread duke
On Tue, 22 Apr 2025 07:41:43 GMT, Daishi Tabata wrote: >> After searching the entire JDK source code, I found that WMIC is only used >> in four files. These WMIC calls can be replaced with PowerShell for WMI. >> >> The primary challenge in this replacement is to make it work the same as >> bef

Re: RFR: 8355249: Remove the use of WMIC from the entire source code [v2]

2025-05-06 Thread Daishi Tabata
On Tue, 22 Apr 2025 07:41:43 GMT, Daishi Tabata wrote: >> After searching the entire JDK source code, I found that WMIC is only used >> in four files. These WMIC calls can be replaced with PowerShell for WMI. >> >> The primary challenge in this replacement is to make it work the same as >> bef

Re: RFR: 8355249: Remove the use of WMIC from the entire source code [v2]

2025-05-06 Thread Alexey Semenyuk
On Tue, 22 Apr 2025 07:41:43 GMT, Daishi Tabata wrote: >> After searching the entire JDK source code, I found that WMIC is only used >> in four files. These WMIC calls can be replaced with PowerShell for WMI. >> >> The primary challenge in this replacement is to make it work the same as >> bef

Re: RFR: 8355249: Remove the use of WMIC from the entire source code [v2]

2025-05-05 Thread Magnus Ihse Bursie
On Tue, 22 Apr 2025 07:41:43 GMT, Daishi Tabata wrote: >> After searching the entire JDK source code, I found that WMIC is only used >> in four files. These WMIC calls can be replaced with PowerShell for WMI. >> >> The primary challenge in this replacement is to make it work the same as >> bef

Re: RFR: 8355249: Remove the use of WMIC from the entire source code [v2]

2025-04-28 Thread Erik Joelsson
On Mon, 28 Apr 2025 20:08:00 GMT, Magnus Ihse Bursie wrote: > Are we sure powershell is always installed on Windows? I verified by running tests on all the Windows versions we use internally and looked at the calculated concurrency in RunTest.gmk. If we didn't get a number for memory I believe

Re: RFR: 8355249: Remove the use of WMIC from the entire source code [v2]

2025-04-28 Thread Magnus Ihse Bursie
On Tue, 22 Apr 2025 07:41:43 GMT, Daishi Tabata wrote: >> After searching the entire JDK source code, I found that WMIC is only used >> in four files. These WMIC calls can be replaced with PowerShell for WMI. >> >> The primary challenge in this replacement is to make it work the same as >> bef

Re: RFR: 8355249: Remove the use of WMIC from the entire source code [v2]

2025-04-23 Thread Erik Joelsson
On Tue, 22 Apr 2025 07:41:43 GMT, Daishi Tabata wrote: >> After searching the entire JDK source code, I found that WMIC is only used >> in four files. These WMIC calls can be replaced with PowerShell for WMI. >> >> The primary challenge in this replacement is to make it work the same as >> bef

Re: RFR: 8355249: Remove the use of WMIC from the entire source code [v2]

2025-04-22 Thread Daishi Tabata
> After searching the entire JDK source code, I found that WMIC is only used in > four files. These WMIC calls can be replaced with PowerShell for WMI. > > The primary challenge in this replacement is to make it work the same as > before, even if the output format of the PowerShell command is di

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

2025-04-22 Thread Daishi Tabata
After searching the entire JDK source code, I found that WMIC is only used in four files. These WMIC calls can be replaced with PowerShell for WMI. The primary challenge in this replacement is to make it work the same as before, even if the output format of the PowerShell command is different fr