harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Wu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2453) [luni] Environment provides inconsistent map on Windows
Date Tue, 05 Dec 2006 08:26:22 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-2453?page=comments#action_12455543 ] 
            
Tony Wu commented on HARMONY-2453:
----------------------------------

would you please tell me the exact env key which fails on? Thanks a lot!

> [luni] Environment provides inconsistent map on Windows
> -------------------------------------------------------
>
>                 Key: HARMONY-2453
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2453
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: WinXP, Win2003 Server
>            Reporter: Alexey Varlamov
>
> The following test fails often on WIndows:
>     public void testGetenv() {
>         Map<String, String> env = System.getenv();
>         for (String key : env.keySet()) {
>             assertEquals("Value of " + key, env.get(key), System.getenv(key));
>         }
>     }
> junit.framework.ComparisonFailure: Value of  expected:&lt;G:=G:\avarlamo\harmony\2commit&gt;
but was:&lt;null&gt;
> 	at junit.framework.Assert.assertEquals(Assert.java:81)
> 	at java.lang.SystemTest.testGetenv(SystemTest.java:49)

-- 
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

        

Mime
View raw message