harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulex Yang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1155) [classlib][luni]implement get environment for 5.0
Date Fri, 11 Aug 2006 10:42:15 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1155?page=comments#action_12427498 ] 
Paulex Yang commented on HARMONY-1155:

Leo, I have some concern on this patch, 

First, seems you construct the property string in native codes by JNI API NewStringUTF, but
I suspect it cannot handle the non-ascii env names and values.

Second, I don't understand why you concat all properties to a long string separated by "\n"
and return in JNI method, and then in Java codes separate them, any reason not to return a
array directly?

would you please help to clarify?  thank you.

> [classlib][luni]implement get environment for 5.0
> -------------------------------------------------
>                 Key: HARMONY-1155
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1155
>             Project: Harmony
>          Issue Type: New Feature
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Paulex Yang
>         Attachments: patch.diff, patch.sh
> Hi,
>     Harmony lacks the new feature of System.getenv(). I would like to implement the inner
class that can be used by System.getenv() and the native code that gets the environment string
from the os.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message