harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Krivenko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2946) [classlib][swing] Compatibility: javax.swing.plaf.basic.BasicComboBoxUI.getAccessibleChildrenCount() returns 0 while RI returns 1
Date Mon, 19 Feb 2007 14:06:06 GMT

    [ 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.


Mime
View raw message