harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Shimansky (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-2271) [drlvm][kernel.tests] Kernel test SystemTest fails on win32 when there is an empty environment variable set
Date Wed, 22 Nov 2006 21:32:03 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-2271?page=all ]

Gregory Shimansky closed HARMONY-2271.

    Resolution: Fixed

Patch applied at 478330.

> [drlvm][kernel.tests] Kernel test SystemTest fails on win32 when there is an empty environment
variable set
> -----------------------------------------------------------------------------------------------------------
>                 Key: HARMONY-2271
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2271
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Gregory Shimansky
>         Assigned To: Gregory Shimansky
>         Attachments: harmony-2271.patch
> Today I've found that on one win32 server I have SystemTest (subtest testGetenv) failing.
It threw an assertion error that expected value for environment variable PRINTER should be
"" (empty string), but instead System.getenv returned null, as if this variable was not set
at all. On this machine PRINTER variable indeed had an empty value.
> I've debugged the failure down to APR and found out that it is really treating empty
variables (length 0) as if they just don't exist, and returned NULL for them. Googling a bit
gave me a pointer to the fix in APR - http://svn.apache.org/viewvc?view=rev&revision=471877
> Unfortunately this fix didn't make it to any APR release yet, so the patch contains a
patch-fix for APR which we currently use replacing env.c with a new version from APR svn.

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