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

2021-09-02 Thread David Holmes
On Thu, 2 Sep 2021 08:16:52 GMT, Matthias Baesken  wrote:

>> Hello, please review this small change.
>> The OS detection code of the JDK/JVM should recognize the new Windows server 
>> 2022 :
>> 
>> https://docs.microsoft.com/en-us/lifecycle/products/windows-server-2022
>> https://docs.microsoft.com/en-us/windows-server/get-started/windows-server-release-info
>> 
>> The build number of Windows server 2022 according to the documentation in 
>> the second link is 20348 .
>> Thanks, Matthias
>
> Matthias Baesken has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   Adjust comments

Thanks for the updates

-

Marked as reviewed by dholmes (Reviewer).

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


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

2021-09-02 Thread Matthias Baesken
On Thu, 2 Sep 2021 07:49:55 GMT, David Holmes  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


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

2021-09-02 Thread Matthias Baesken
> Hello, please review this small change.
> The OS detection code of the JDK/JVM should recognize the new Windows server 
> 2022 :
> 
> https://docs.microsoft.com/en-us/lifecycle/products/windows-server-2022
> https://docs.microsoft.com/en-us/windows-server/get-started/windows-server-release-info
> 
> The build number of Windows server 2022 according to the documentation in the 
> second link is 20348 .
> Thanks, Matthias

Matthias Baesken has updated the pull request incrementally with one additional 
commit since the last revision:

  Adjust comments

-

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/5347/files
  - new: https://git.openjdk.java.net/jdk/pull/5347/files/c7ce4abc..f8952e3e

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk=5347=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk=5347=00-01

  Stats: 5 lines in 2 files changed: 1 ins; 0 del; 4 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5347.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5347/head:pull/5347

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