harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitriy Matveev (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-5437) [classlib][awt][appletviewer] Drawing of the checkbox with null label throws NullPointerException
Date Tue, 29 Jan 2008 10:17:34 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-5437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12563449#action_12563449
] 

Dmitriy Matveev commented on HARMONY-5437:
------------------------------------------

Reproducer:

import java.awt.Checkbox;
import java.awt.Font;
import java.awt.Frame;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;

public class AATest {
    public static void main(String[] args) {
        Frame f = new Frame();
        Checkbox cb = new Checkbox();
        cb.setLabel(null);
        f.add(cb);
        f.setBounds(0,0,800,600)
        f.setVisible(true);
        f.addWindowListener(new WindowAdapter() {
            public void windowClosing(WindowEvent ev) {
                System.exit(0);
            }
        });
    }
}


> [classlib][awt][appletviewer] Drawing of the checkbox with null label throws NullPointerException

> --------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5437
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5437
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib, JDK
>            Reporter: Dmitriy Matveev
>            Assignee: Alexey Petrenko
>


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