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

Alan Bateman alanb at openjdk.java.net
Thu Sep 2 07:49:27 UTC 2021


On Thu, 2 Sep 2021 06:43:16 GMT, Matthias Baesken <mbaesken at openjdk.org> 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

The link to the "Windows Server release information" page is useful to check the build number - thanks!

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

Marked as reviewed by alanb (Reviewer).

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


More information about the core-libs-dev mailing list