Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 73596 invoked from network); 19 Feb 2007 14:06:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Feb 2007 14:06:27 -0000 Received: (qmail 75542 invoked by uid 500); 19 Feb 2007 14:06:35 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 75523 invoked by uid 500); 19 Feb 2007 14:06:34 -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 75514 invoked by uid 99); 19 Feb 2007 14:06:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Feb 2007 06:06:34 -0800 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 Feb 2007 06:06:26 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 34D357141EF for ; Mon, 19 Feb 2007 06:06:06 -0800 (PST) Message-ID: <5241644.1171893966214.JavaMail.jira@brutus> Date: Mon, 19 Feb 2007 06:06:06 -0800 (PST) From: "Sergey Krivenko (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-2946) [classlib][swing] Compatibility: javax.swing.plaf.basic.BasicComboBoxUI.getAccessibleChildrenCount() returns 0 while RI returns 1 In-Reply-To: <25914375.1168221807495.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-2946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474174 ] Sergey Krivenko commented on HARMONY-2946: ------------------------------------------ The spec says that the implementation of BasicComboBoxUI.getAccessibleChildrenCount() is optional. It is implemented at the super class level. It seemed logical just to call super.getAccessibleChildrenCount() which I did. NotImplementedException was thrown as a result. May I suggest to move this issue to tasks instead of bugs? > [classlib][swing] Compatibility: javax.swing.plaf.basic.BasicComboBoxUI.getAccessibleChildrenCount() returns 0 while RI returns 1 > --------------------------------------------------------------------------------------------------------------------------------- > > Key: HARMONY-2946 > URL: https://issues.apache.org/jira/browse/HARMONY-2946 > Project: Harmony > Issue Type: Bug > Components: Classlib > Reporter: Vasily Zakharov > Priority: Minor > Attachments: Harmony-2946-Make.patch, Harmony-2946-Test.patch > > > The following simple test: > import javax.swing.JComboBox; > import javax.swing.plaf.basic.BasicComboBoxUI; > public class Test { > public static void main(String[] args) throws Exception { > BasicComboBoxUI ui = new BasicComboBoxUI(); > ui.installUI(new JComboBox()); > System.out.println(ui.getAccessibleChildrenCount(null)); > } > } > prints "1" on RI and "0" on Harmony. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.