mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chao Shi (JIRA)" <j...@apache.org>
Subject [jira] Created: (SSHD-106) Wrong use of ProcessBuilder.environment()
Date Fri, 11 Feb 2011 01:22:57 GMT
Wrong use of ProcessBuilder.environment()

                 Key: SSHD-106
                 URL: https://issues.apache.org/jira/browse/SSHD-106
             Project: MINA SSHD
          Issue Type: Bug
    Affects Versions: 0.5.0, 0.4.0
         Environment: Android 1.6 (Dalvik)
            Reporter: Chao Shi

It seems ProcessBuilder.environment() behaves differently on android and sun's JDK. The latest
javadoc says;

The behavior of the returned map is system-dependent. A system may not allow modifications
to environment variables or may forbid certain variable names or values. For this reason,
attempts to modify the map may fail with UnsupportedOperationException or IllegalArgumentException
if the modification is not permitted by the operating system.

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


View raw message