You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2014/01/11 12:45:52 UTC

[jira] [Commented] (EXEC-78) No need to use System.class.getMethod("getenv",... any more

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

Sebb commented on EXEC-78:
--------------------------

Applied fix:

URL: http://svn.apache.org/r1557346
Log:
EXEC-78 No need to use System.class.getMethod("getenv",... any more

Modified:
    commons/proper/exec/trunk/src/changes/changes.xml
    commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/environment/DefaultProcessingEnvironment.java
    commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/environment/OpenVmsProcessingEnvironment.java

Leaving open, as needs to be tested on various environments

> No need to use System.class.getMethod("getenv",... any more
> -----------------------------------------------------------
>
>                 Key: EXEC-78
>                 URL: https://issues.apache.org/jira/browse/EXEC-78
>             Project: Commons Exec
>          Issue Type: Bug
>            Reporter: Sebb
>
> Now that Exec requires Java 1.5+, there is no need to use reflection to find System.getenv.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)