harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2453) [luni] Environment provides inconsistent map on Windows
Date Tue, 05 Dec 2006 07:15:20 GMT
[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


View raw message