harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulex Yang (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-3734) [java][security]java.security.Provider.toString() should not include the provider information
Date Wed, 25 Apr 2007 07:41:15 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-3734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Paulex Yang resolved HARMONY-3734.
----------------------------------

    Resolution: Fixed

Leo, patch applied at revision r532234, please verify, thanks a lot.

> [java][security]java.security.Provider.toString() should not include the provider information
> ---------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3734
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3734
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Paulex Yang
>            Priority: Minor
>         Attachments: patch-3734.diff
>
>
> As spec says, the java.security.Provider.toString() returns a string with the name and
the version number of this provider. But not with info of it.
> Here is a testcase:
> class TestProvider extends Provider {
> 		TestProvider(String name, double version, String info) {
> 			super(name, version, info);
> 		}
> }
> public void test_toString()
> {
>     TestProvider provTest = new TestProvider("provTest", 1.2,"contains nothings, purely
for testing the class");
>     assertEquals("provTest version 1.2", provTest.toString());
> }
> RI passes.
> Harmony fails.

-- 
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