harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey A. Ivanov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2819) [classlib][swing] j.s.text.JTextComponent.fireCaretUpdate(null) throws unspecified NPE
Date Wed, 20 Dec 2006 15:24:21 GMT
[classlib][swing] j.s.text.JTextComponent.fireCaretUpdate(null) throws unspecified NPE
--------------------------------------------------------------------------------------

                 Key: HARMONY-2819
                 URL: http://issues.apache.org/jira/browse/HARMONY-2819
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Alexey A. Ivanov
            Priority: Minor


RI works silently but Harmony throws NPE in the following code.

======== Code to Reproduce =======
import javax.swing.JEditorPane;
import javax.swing.event.CaretEvent;

public class Test {
    private static class Editor extends JEditorPane {
        @Override
        public void fireCaretUpdate(CaretEvent ce) {
            super.fireCaretUpdate(ce);
        }
    }

    public static void main(String[] args) {
        Editor editor = new Editor();
        editor.fireCaretUpdate(null);
    }
}
======= end of code =======

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

        

Mime
View raw message