commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LANG-1394) org.apache.commons.lang3.SystemUtils should not write to System.err
Date Sun, 22 Apr 2018 16:45:00 GMT
Gary Gregory created LANG-1394:
----------------------------------

             Summary: org.apache.commons.lang3.SystemUtils should not write to System.err
                 Key: LANG-1394
                 URL: https://issues.apache.org/jira/browse/LANG-1394
             Project: Commons Lang
          Issue Type: Improvement
          Components: lang.*
            Reporter: Gary Gregory
            Assignee: Gary Gregory


The class {{org.apache.commons.lang3.SystemUtils}} should not write to {{System.err}}.

Initializing the following may cause to write to {{System.err}} if a {{SecurityException}}
is caught:

AWT_TOOLKIT
FILE_ENCODING
FILE_SEPARATOR
JAVA_AWT_FONTS
JAVA_AWT_GRAPHICSENV
JAVA_AWT_HEADLESS
JAVA_AWT_PRINTERJOB
JAVA_CLASS_PATH
JAVA_CLASS_VERSION
JAVA_COMPILER
JAVA_ENDORSED_DIRS
JAVA_EXT_DIRS
JAVA_HOME
JAVA_IO_TMPDIR
JAVA_LIBRARY_PATH
JAVA_RUNTIME_NAME
JAVA_RUNTIME_VERSION
JAVA_SPECIFICATION_NAME
JAVA_SPECIFICATION_VENDOR
JAVA_SPECIFICATION_VERSION
JAVA_UTIL_PREFS_PREFERENCES_FACTORY
JAVA_VENDOR
JAVA_VENDOR_URL
JAVA_VERSION
JAVA_VM_INFO
JAVA_VM_NAME
JAVA_VM_SPECIFICATION_NAME
JAVA_VM_SPECIFICATION_VENDOR
JAVA_VM_SPECIFICATION_VERSION
JAVA_VM_VENDOR
JAVA_VM_VERSION
LINE_SEPARATOR
OS_ARCH
OS_NAME
OS_VERSION
PATH_SEPARATOR
USER_COUNTRY (3 matches)
USER_DIR
USER_HOME
USER_LANGUAGE
USER_NAME
USER_TIMEZONE

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message