harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Dolgov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2569) [classlib][swing] javax.swing.JDialog.update(null) throws unspecified NPE while RI does not
Date Mon, 11 Dec 2006 08:26:21 GMT
[classlib][swing] javax.swing.JDialog.update(null) throws unspecified NPE while RI does not

                 Key: HARMONY-2569
                 URL: http://issues.apache.org/jira/browse/HARMONY-2569
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Pavel Dolgov
            Priority: Minor

Test case:
import javax.swing.JDialog;

import junit.framework.TestCase;

public class TheTest extends TestCase {
    public void testcase1() {
        new JDialog().update(null);

Harmony output:
Time: 7.861
There was 1 error:
1) testcase1(TheTest)java.lang.NullPointerException
	at java.awt.Container.paintComponentsImpl(Container.java)
	at java.awt.Container.paint(Container.java:930)
	at javax.swing.JDialog.update(JDialog.java)
	at TheTest.testcase1(TheTest.java:12)
	at java.lang.reflect.VMReflection.invokeMethod(Native Method)
	at TheTest.main(TheTest.java:8)

Tests run: 1,  Failures: 0,  Errors: 1

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


View raw message