You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Richard Liang (JIRA)" <ji...@apache.org> on 2006/12/20 12:05:23 UTC
[jira] Resolved: (HARMONY-2675)
[classlib][luni]ProcessBuilder.command returns a list that does not support
add() operation but RI does.
[ http://issues.apache.org/jira/browse/HARMONY-2675?page=all ]
Richard Liang resolved HARMONY-2675.
------------------------------------
Resolution: Fixed
Hello Leo,
The patch has been applied at revision r489034, thanks a lot for this enhancement. Would you please verify the issue is fully fixed as you expected.
Best regards,
Richard
> [classlib][luni]ProcessBuilder.command returns a list that does not support add() operation but RI does.
> --------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2675
> URL: http://issues.apache.org/jira/browse/HARMONY-2675
> Project: Harmony
> Issue Type: Bug
> Reporter: Leo Li
> Assigned To: Richard Liang
> Attachments: patch-2675.diff
>
>
> Here is a testcase:
> public void testProcessBuilder()
> {
> ProcessBuilder processBuilder = new ProcessBuilder("AAA");
> processBuilder.command("BBB","CCC");
> List<String> list = processBuilder.command();
> list.add("DDD");
> String[] command = new String[3];
> list.toArray(command);
> assertTrue(Arrays.equals(new String[]{"BBB","CCC","DDD"}, command));
> }
> RI passes.
> Harmony fails.
--
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