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 2008/09/26 13:33:44 UTC
[jira] Resolved: (HARMONY-5990) [classlib][jndi] - the return
string of Reference.toString() should be same with RI
[ https://issues.apache.org/jira/browse/HARMONY-5990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Ellison resolved HARMONY-5990.
----------------------------------
Resolution: Fixed
Thanks Regis,
I modified the patch slightly to simplify, and applied to the JNDI module at repo revision r699281.
Please check that you agree with the changes.
> [classlib][jndi] - the return string of Reference.toString() should be same with RI
> -----------------------------------------------------------------------------------
>
> Key: HARMONY-5990
> URL: https://issues.apache.org/jira/browse/HARMONY-5990
> Project: Harmony
> Issue Type: Bug
> Affects Versions: 5.0M7
> Reporter: Regis Xu
> Assignee: Tim Ellison
> Fix For: 5.0M8
>
> Attachments: HARMONY-5990.diff
>
>
> The test case:
> StringRefAddr addr = new StringRefAddr("string", "address");
> Reference ref = new Reference("java.lang.String", addr);
> System.out.println(ref.toString());
> output of Harmony:
> Reference class name: java.lang.String
> Reference addresses:
> The type of the address is: string
> The content of the address is: address
> output of RI:
> Reference Class Name: java.lang.String
> Type: string
> Content: address
> There is not required output format in spec, but I think it's easy to keep compatible with RI
> I'wll attach the patch soon.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.