You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tim Ellison (JIRA)" <ji...@apache.org> on 2009/08/10 14:58:14 UTC
[jira] Resolved: (HARMONY-6146) [classlib][luni][java6]
java.util.Properties.Properties(defaults).stringPropertyNames() should
return a set of keys including the keys in the default property list
[ https://issues.apache.org/jira/browse/HARMONY-6146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Ellison resolved HARMONY-6146.
----------------------------------
Resolution: Fixed
Fix Version/s: (was: 5.0M9)
5.0M11
Thank you for being so patient Kevin!
Patch applied to LUNI module of Java 6 branch at repo revision r802773.
Please verify it was applied as you expected.
> [classlib][luni][java6] java.util.Properties.Properties(defaults).stringPropertyNames() should return a set of keys including the keys in the default property list
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-6146
> URL: https://issues.apache.org/jira/browse/HARMONY-6146
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Affects Versions: 5.0M8
> Reporter: Kevin Zhou
> Assignee: Tim Ellison
> Fix For: 5.0M11
>
> Attachments: HARMONY-6146.diff, HARMONY-6146v2.diff, HARMONY-6146v3.diff
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> Given a test case [1], RI passes while HY fails.
> The java spec specifies that java.util.Properties.stringPropertyNames() should return a set of keys in this property list, also including the keys in the default property list.
> [1] Test Case:
> public void test_Properties_stringPropertyNames() {
> Properties properties = new Properties();
> properties.setProperty("key", "value");
> Properties properties2 = new Properties(properties);
> assertEquals(1, properties2.stringPropertyNames().size());
> Properties properties3 = new Properties(properties2);
> assertEquals(1, properties3.stringPropertyNames().size());
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.