You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/05/17 11:40:00 UTC

[jira] [Commented] (LANG-1686) Add Windows 11 detection to SystemUtils

    [ https://issues.apache.org/jira/browse/LANG-1686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17538124#comment-17538124 ] 

Michael Osipov commented on LANG-1686:
--------------------------------------

WHAT A PAIN!

> Add Windows 11 detection to SystemUtils
> ---------------------------------------
>
>                 Key: LANG-1686
>                 URL: https://issues.apache.org/jira/browse/LANG-1686
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.*
>            Reporter: Will Herrmann
>            Priority: Major
>
> [SystemUtils|https://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/SystemUtils.html] contains static booleans such as {{{}IS_OS_WINDOWS_10{}}}.
> Now that Windows 11 has been out for a while, add {{{}IS_OS_WINDOWS_11{}}}.
> ----
> Note that [distinguishing Windows 11 from Windows 10 is complicated|https://stackoverflow.com/questions/69373447/is-there-an-official-way-to-detect-windows-11], so the current approach may not work for that.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)