Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 72365 invoked from network); 24 Apr 2007 03:24:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Apr 2007 03:24:36 -0000 Received: (qmail 88528 invoked by uid 500); 24 Apr 2007 03:24:43 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 88499 invoked by uid 500); 24 Apr 2007 03:24:43 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 88490 invoked by uid 99); 24 Apr 2007 03:24:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 20:24:42 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 20:24:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7FC8A714062 for ; Mon, 23 Apr 2007 20:24:15 -0700 (PDT) Message-ID: <12716498.1177385055521.JavaMail.jira@brutus> Date: Mon, 23 Apr 2007 20:24:15 -0700 (PDT) From: "Leo Li (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-3734) [java][security]java.security.Provider.toString() should not include the provider information In-Reply-To: <28098826.1177383435503.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on 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.