Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 99684 invoked from network); 13 Mar 2007 16:55:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Mar 2007 16:55:31 -0000 Received: (qmail 98849 invoked by uid 500); 13 Mar 2007 16:55:39 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 98825 invoked by uid 500); 13 Mar 2007 16:55:39 -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 98699 invoked by uid 99); 13 Mar 2007 16:55:39 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Mar 2007 09:55:38 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Tue, 13 Mar 2007 09:55:29 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A0650714077 for ; Tue, 13 Mar 2007 09:55:09 -0700 (PDT) Message-ID: <15650967.1173804909654.JavaMail.jira@brutus> Date: Tue, 13 Mar 2007 09:55:09 -0700 (PDT) From: "Alexei Zakharov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-3351) [classlib][awt] when pass null to the setTitle(String) of Frame, Harmony will get null rather than get "" in RI In-Reply-To: <9669381.1173664449240.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-3351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexei Zakharov updated HARMONY-3351: ------------------------------------- Priority: Minor (was: Major) > [classlib][awt] when pass null to the setTitle(String) of Frame, Harmony will get null rather than get "" in RI > --------------------------------------------------------------------------------------------------------------- > > Key: HARMONY-3351 > URL: https://issues.apache.org/jira/browse/HARMONY-3351 > Project: Harmony > Issue Type: Bug > Components: Classlib > Environment: Ubuntu > Reporter: Sean Qiu > Priority: Minor > > After set the title of Fram to null, invoking the getTitle() will get null in harmony while RI will get empty String "". > >>>>>>>>>>> > public class FrameRTest extends TestCase { > /** > * @tests java.awt.Frame#setTitle(String) > */ > public void test_setTitleLjava_lang_String() { > Frame frame = new Frame(); > frame.setTitle(null); > assertEquals("", frame.getTitle()); > } > } > >>>>>>>>>>> > Result > RI: Pass > Hr: Fail -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.