commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LANG-695) SystemUtils.IS_OS_UNIX doesn't recognize FreeBSD as a Unix system
Date Thu, 21 Apr 2011 15:12:05 GMT

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

Oliver commented on LANG-695:
-----------------------------

*Workaround:*
{code}
"FreeBSD".equalsIgnoreCase(SystemUtils.OS_NAME)
{code}

> SystemUtils.IS_OS_UNIX doesn't recognize FreeBSD as a Unix system
> -----------------------------------------------------------------
>
>                 Key: LANG-695
>                 URL: https://issues.apache.org/jira/browse/LANG-695
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.*
>    Affects Versions: 2.6
>         Environment: FreeBSD 7-STABLE
>            Reporter: Oliver
>            Priority: Minor
>
> FreeBSD isn't regognized as Unix system in SystemUtils.IS_OS_UNIX; There should be something
like SystemUtils.IS_OS_FREEBSD, also.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message