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

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

[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
            Reporter: Leo Li
            Priority: Minor


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.


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

Posted by "Leo Li (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leo Li updated HARMONY-3734:
----------------------------

    Component/s: Classlib

> [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
>            Priority: Minor
>
> 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.


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

Posted by "Leo Li (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leo Li closed HARMONY-3734.
---------------------------


Verified. Thanks.

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


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

Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Leo Li (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leo Li updated HARMONY-3734:
----------------------------

    Patch Info: [Patch Available]

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


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

Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Leo Li (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leo Li updated HARMONY-3734:
----------------------------

    Attachment: patch-3734.diff

Will somebody try the patch?

Good luck,
Leo.

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