commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver (JIRA)" <>
Subject [jira] [Commented] (LANG-695) SystemUtils.IS_OS_UNIX doesn't recognize FreeBSD as a Unix system
Date Wed, 04 May 2011 16:28:03 GMT


Oliver commented on LANG-695:

The case sensitive values of {{}} for BSD--Unix variants are:

For the {{IS_BSD}} case I'd say Mac OS X should be treated as a BSD--Unix as well, because
{{IS_UNIX}} returns {{true}} for Mac OS X, too. And by the way Mac OS X *is* actually FreeBSD,
But don't tell Mac addicts ;)

Given we have OS X, do we add the various BSDs.

I'd say no, because this is imho confusing.

But if we have {{IS_LINUX}} and {{IS_BSD}} , we should also provide something like {{IS_SYS_V}}
for SunOS and Solaris. (?)

> SystemUtils.IS_OS_UNIX doesn't recognize FreeBSD as a Unix system
> -----------------------------------------------------------------
>                 Key: LANG-695
>                 URL:
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.*
>    Affects Versions: 2.6
>         Environment: FreeBSD 7-STABLE
>            Reporter: Oliver
>            Priority: Minor
>             Fix For: 3.x
> FreeBSD isn't recognized 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:

View raw message