harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Regis Xu (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-5990) [classlib][jndi] - the return string of Reference.toString() should be same with RI
Date Fri, 26 Sep 2008 10:47:44 GMT
[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
             Fix For: 5.0M8


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.


Mime
View raw message