You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Denis Kishenko (JIRA)" <ji...@apache.org> on 2006/12/18 11:27:21 UTC
[jira] Created: (HARMONY-2764) [classlib][swing]
javax.swing.plaf.basic.BasicButtonListener.processMouseEvent() does not
throw unspecified NPE
[classlib][swing] javax.swing.plaf.basic.BasicButtonListener.processMouseEvent() does not throw unspecified NPE
---------------------------------------------------------------------------------------------------------------
Key: HARMONY-2764
URL: http://issues.apache.org/jira/browse/HARMONY-2764
Project: Harmony
Issue Type: Bug
Components: Classlib
Reporter: Denis Kishenko
There is no mention of any exception in the specification.
RI throws unspecified NPE for processMouseEvent if MouseEvent == null while Harmony does not.
import javax.swing.plaf.basic.*;
import javax.swing.*;
import javax.swing.event.*;
import java.awt.event.*;
public class test {
public static void main(String[] args) {
try {
BasicCheckBoxMenuItemUI mi = new BasicCheckBoxMenuItemUI();
mi.processMouseEvent(new JMenuItem(), null, new MenuElement[] {},
new MenuSelectionManager());
} catch (Exception e) {
e.printStackTrace();
}
}
}
Output on RI:
java.lang.NullPointerException
at
javax.swing.plaf.basic.BasicCheckBoxMenuItemUI.processMouseEvent(BasicCheckBoxMenuItemUI.java:37)
at test.main(test.java:11)
Output on Harmony +j9:
(no output)
--
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
[jira] Updated: (HARMONY-2764) [classlib][swing]
javax.swing.plaf.basic.BasicButtonListener.processMouseEvent() does not
throw unspecified NPE
Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-2764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexei Zakharov updated HARMONY-2764:
-------------------------------------
Priority: Minor (was: Major)
> [classlib][swing] javax.swing.plaf.basic.BasicButtonListener.processMouseEvent() does not throw unspecified NPE
> ---------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2764
> URL: https://issues.apache.org/jira/browse/HARMONY-2764
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Denis Kishenko
> Priority: Minor
>
> There is no mention of any exception in the specification.
> RI throws unspecified NPE for processMouseEvent if MouseEvent == null while Harmony does not.
> import javax.swing.plaf.basic.*;
> import javax.swing.*;
> import javax.swing.event.*;
> import java.awt.event.*;
> public class test {
> public static void main(String[] args) {
> try {
> BasicCheckBoxMenuItemUI mi = new BasicCheckBoxMenuItemUI();
> mi.processMouseEvent(new JMenuItem(), null, new MenuElement[] {},
> new MenuSelectionManager());
> } catch (Exception e) {
> e.printStackTrace();
> }
> }
> }
> Output on RI:
> java.lang.NullPointerException
> at
> javax.swing.plaf.basic.BasicCheckBoxMenuItemUI.processMouseEvent(BasicCheckBoxMenuItemUI.java:37)
> at test.main(test.java:11)
> Output on Harmony +j9:
> (no output)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-2764) [classlib][swing]
javax.swing.plaf.basic.BasicButtonListener.processMouseEvent() does not
throw unspecified NPE
Posted by "Sergey Krivenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-2764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474417 ]
Sergey Krivenko commented on HARMONY-2764:
------------------------------------------
Method processMouseEvent() of BasicCheckBoxMenuItemUI class is not implemented
> [classlib][swing] javax.swing.plaf.basic.BasicButtonListener.processMouseEvent() does not throw unspecified NPE
> ---------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-2764
> URL: https://issues.apache.org/jira/browse/HARMONY-2764
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Denis Kishenko
>
> There is no mention of any exception in the specification.
> RI throws unspecified NPE for processMouseEvent if MouseEvent == null while Harmony does not.
> import javax.swing.plaf.basic.*;
> import javax.swing.*;
> import javax.swing.event.*;
> import java.awt.event.*;
> public class test {
> public static void main(String[] args) {
> try {
> BasicCheckBoxMenuItemUI mi = new BasicCheckBoxMenuItemUI();
> mi.processMouseEvent(new JMenuItem(), null, new MenuElement[] {},
> new MenuSelectionManager());
> } catch (Exception e) {
> e.printStackTrace();
> }
> }
> }
> Output on RI:
> java.lang.NullPointerException
> at
> javax.swing.plaf.basic.BasicCheckBoxMenuItemUI.processMouseEvent(BasicCheckBoxMenuItemUI.java:37)
> at test.main(test.java:11)
> Output on Harmony +j9:
> (no output)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.