Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 57963 invoked from network); 24 Mar 2006 19:54:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Mar 2006 19:54:00 -0000 Received: (qmail 60361 invoked by uid 500); 24 Mar 2006 19:53:59 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 60329 invoked by uid 500); 24 Mar 2006 19:53:59 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 60318 invoked by uid 99); 24 Mar 2006 19:53:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Mar 2006 11:53:59 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Mar 2006 11:53:58 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id DA022D4A00 for ; Fri, 24 Mar 2006 19:53:37 +0000 (GMT) Message-ID: <2127867587.1143230017890.JavaMail.jira@ajax> Date: Fri, 24 Mar 2006 19:53:37 +0000 (GMT) From: "Vasily Zakharov (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Commented: (HARMONY-220) javax.naming.NameClassPair lacks two Java 5.0 methods In-Reply-To: <1227703281.1142938803654.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HARMONY-220?page=comments#action_12371789 ] Vasily Zakharov commented on HARMONY-220: ----------------------------------------- Tim, Thank you for applying the patch. It does what it should. One small note - the file uses spaces for indents, and you used tabs for some reason, which makes the file bad-looking if tab size is set to the width other than 4. Just in case you find it significant, I here attach a small patch to fix it (NameClassPairSpaces.patch). Mark, I see, the tests have the same problem - they check name for null, while the spec clearly states that name must be non-null. Here I attach a patch for the tests, it should resolve the failures (NameClassPairTest.patch). Thank you. > javax.naming.NameClassPair lacks two Java 5.0 methods > ----------------------------------------------------- > > Key: HARMONY-220 > URL: http://issues.apache.org/jira/browse/HARMONY-220 > Project: Harmony > Type: Bug > Components: Classlib > Reporter: Vasily Zakharov > Assignee: Tim Ellison > Attachments: NameClassPair.patch > > javax.naming.NameClassPair lacks implementation for two Java 5.0 methods: > String getNameInNamespace() > void setNameInNamespace(String) > Also specification for both constructors and the setName(String) method states that name parameter must be non-null. The current implementation lacks checking of this fact. > The attached simple patch provides fixes for both issues. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira