harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Yu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6167) [IBM VME]SystemTest.test_getProperties would fail against VME while running luni test
Date Wed, 22 Apr 2009 11:50:47 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12701494#action_12701494
] 

Jim Yu commented on HARMONY-6167:
---------------------------------

This patch is just a workaroud which removed the call of System.setProperties(null) by restoring
the original properties instead. It will not affect the testcase of HttpURLConnectionTest
and can make the failing testcase pass. Does it make sense?




> [IBM VME]SystemTest.test_getProperties would fail against VME while running luni test
> -------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6167
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6167
>             Project: Harmony
>          Issue Type: Bug
>          Components: VM
>            Reporter: Jim Yu
>         Attachments: HARMONY-6167.diff
>
>
> While running luni test against IBM vme, SystemTest.test_getProperties would fail[1].
I looked into this issue and found this testcase can pass if we run it alone. The root cause
is that while running luni test we would call System.setProperties(null) in HttpURLConnectionTest.
After that call, System.getProperty would fail to retrieve the value for "java.ext.dirs" on
vme. So it is a defect of vme.  
> [1]
> Failure stack trace as following,
> junit.framework.AssertionFailedError: java.ext.dirs
> at org.apache.harmony.luni.tests.java.lang.SystemTest.test_getProperties(SystemTest.java:144)
> at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message