RFR: JDK-8273229: Update OS detection code to recognize Windows Server 2022 [v2]

Matthias Baesken mbaesken at openjdk.java.net
Thu Sep 2 08:16:53 UTC 2021


On Thu, 2 Sep 2021 07:49:55 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Adjust comments
>
> src/hotspot/os/windows/os_windows.cpp line 1871:
> 
>> 1869:       // distinguish Windows Server 2016, 2019 and 2022 by build number
>> 1870:       // Windows server 2019 GA 10/2018 build number is 17763
>> 1871:       // Windows server 2022 build number is 20348
> 
> Perhaps to avoid too much future editing:
> 
> // Distinguish Windows Server by build number:
> // - 2016 GA 10/2016 build: 14393
> // - 2019 GA 11/2018 build: 17763
> // - 2022 GA 08/2021 build: 20348

Hi David , thanks for your suggestions. I  adjusted the comments.

Best regards, Matthias

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

PR: https://git.openjdk.java.net/jdk/pull/5347


More information about the core-libs-dev mailing list