Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 82175 invoked from network); 19 Mar 2007 18:03:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Mar 2007 18:03:53 -0000 Received: (qmail 17452 invoked by uid 500); 19 Mar 2007 18:04:01 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 17428 invoked by uid 500); 19 Mar 2007 18:04:01 -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 17419 invoked by uid 99); 19 Mar 2007 18:04:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Mar 2007 11:04:01 -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; Mon, 19 Mar 2007 11:03:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 748D3714071 for ; Mon, 19 Mar 2007 11:03:32 -0700 (PDT) Message-ID: <27558220.1174327412468.JavaMail.jira@brutus> Date: Mon, 19 Mar 2007 11:03:32 -0700 (PDT) From: "Alexei Zakharov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Closed: (HARMONY-3318) [classlib[awt] java.awt.Frame.setTitle(String) does not treat null as empty string. In-Reply-To: <16099182.1173256104256.JavaMail.root@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-3318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexei Zakharov closed HARMONY-3318. ------------------------------------ Verified by Andrey. > [classlib[awt] java.awt.Frame.setTitle(String) does not treat null as empty string. > ----------------------------------------------------------------------------------- > > Key: HARMONY-3318 > URL: https://issues.apache.org/jira/browse/HARMONY-3318 > Project: Harmony > Issue Type: Bug > Components: Classlib > Reporter: Robert Hu > Assigned To: Alexei Zakharov > Priority: Minor > Attachments: HARMONY-3318-FrameRTest.patch, HARMONY-3318-Window.patch > > > According to spec, java.awt.Frame.setTitle(String) can accept null as argument, "a null value is treated as an empty string, ""." But Harmony violate it and return null when getting the title just set as null. > Test code to re-produce: > Frame frame = new Frame(); > frame.setTitle(null); > assertEquals("", frame.getTitle()); > RI: Pass > Harmony: junit.framework.ComparisonFailure: expected:<> but was: -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.