You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Paulex Yang (JIRA)" <ji...@apache.org> on 2007/04/24 05:43:16 UTC

[jira] Assigned: (HARMONY-3734) [java][security]java.security.Provider.toString() should not include the provider information

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

Paulex Yang reassigned HARMONY-3734:
------------------------------------

    Assignee: Paulex Yang

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