[
https://issues.apache.org/jira/browse/LANG-794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benedikt Ritter resolved LANG-794.
----------------------------------
Resolution: Fixed
Fix Version/s: (was: Patch Needed)
3.4
Assignee: Benedikt Ritter
{code}
$ svn ci -m "LANG-794: SystemUtils.IS_OS_WINDOWS_2008, VISTA are incorrect.
This also fixes #60 from github. Thanks to Timo Kockert."
Sending RELEASE-NOTES.txt
Sending src/changes/changes.xml
Sending src/main/java/org/apache/commons/lang3/SystemUtils.java
Transmitting file data ...
Committed revision 1671040.
{code}
> SystemUtils.IS_OS_WINDOWS_2008, VISTA are incorrect
> ---------------------------------------------------
>
> Key: LANG-794
> URL: https://issues.apache.org/jira/browse/LANG-794
> Project: Commons Lang
> Issue Type: Bug
> Components: lang.*
> Affects Versions: 3.1
> Environment: Windows Server 2008 R2, Rackspace Cloud Instance
> Reporter: Tyler Hobbs
> Assignee: Benedikt Ritter
> Fix For: 3.4
>
>
> On Windows Server 2008 R2 (a Rackspace Cloud Instance), the values of
> SystemUtils.IS_OS_WINDOWS_2008 and SystemUtils.IS_OS_WINDOWS_VISTA are
> incorrect: the former is false and the latter is true.
> I'm not sure how to fix the VISTA flag (as I don't have an instance to test
> against), but the cause of WINDOWS_2008 being set to false is that the match
> explicitly requires the version to be 6.1, where 6.0 can apparently also be
> the version number for 2008 R2.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)