You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ilya Okomin (JIRA)" <ji...@apache.org> on 2006/12/14 11:33:21 UTC

[jira] Created: (HARMONY-2684) [classlib][swing] javax.swing.plaf.basic.BasicSplitPaneUI.paint() does not throw NPE on Harmony while it does on RI.

[classlib][swing] javax.swing.plaf.basic.BasicSplitPaneUI.paint() does not throw NPE on Harmony while it does on RI.
--------------------------------------------------------------------------------------------------------------------

                 Key: HARMONY-2684
                 URL: http://issues.apache.org/jira/browse/HARMONY-2684
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Ilya Okomin
            Priority: Minor


Harmony works silently in javax.swing.plaf.basic.BasicSplitPaneUI.paint(Graphics g,JComponent jc) while
RI throws unspecified NPE.
Test case to reproduce in the attachment.


-- 
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-2684) [classlib][swing] javax.swing.plaf.basic.BasicSplitPaneUI.paint() does not throw NPE on Harmony while it does on RI.

Posted by "Ilya Okomin (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2684?page=all ]

Ilya Okomin updated HARMONY-2684:
---------------------------------

    Attachment: test.java

test case to reproduce

> [classlib][swing] javax.swing.plaf.basic.BasicSplitPaneUI.paint() does not throw NPE on Harmony while it does on RI.
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2684
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2684
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Ilya Okomin
>            Priority: Minor
>         Attachments: test.java
>
>
> Harmony works silently in javax.swing.plaf.basic.BasicSplitPaneUI.paint(Graphics g,JComponent jc) while
> RI throws unspecified NPE.
> Test case to reproduce in the attachment.

-- 
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] Commented: (HARMONY-2684) [classlib][swing] javax.swing.plaf.basic.BasicSplitPaneUI.paint() does not throw NPE on Harmony while it does on RI.

Posted by "ilya ivanov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-2684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12520154 ] 

ilya ivanov commented on HARMONY-2684:
--------------------------------------

Stack Trace on RI:
java.lang.NullPointerException
	at javax.swing.plaf.basic.BasicSplitPaneUI.paint(BasicSplitPaneUI.java:1051)
	at test.testRun(test.java:30)
	at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
	at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
	at junit.framework.TestCase.runTest(TestCase.java:164)
	at junit.framework.TestCase.runBare(TestCase.java:130)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at junit.textui.TestRunner.doRun(TestRunner.java:121)
	at junit.textui.TestRunner.doRun(TestRunner.java:114)
	at junit.textui.TestRunner.run(TestRunner.java:77)
	at junit.textui.TestRunner.run(TestRunner.java:62)
	at test.main(test.java:16)

> [classlib][swing] javax.swing.plaf.basic.BasicSplitPaneUI.paint() does not throw NPE on Harmony while it does on RI.
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2684
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2684
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Ilya Okomin
>            Priority: Minor
>         Attachments: test.java
>
>
> Harmony works silently in javax.swing.plaf.basic.BasicSplitPaneUI.paint(Graphics g,JComponent jc) while
> RI throws unspecified NPE.
> Test case to reproduce in the attachment.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-2684) [classlib][swing] javax.swing.plaf.basic.BasicSplitPaneUI.paint() does not throw NPE on Harmony while it does on RI.

Posted by "ilya ivanov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-2684?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ilya ivanov updated HARMONY-2684:
---------------------------------

    Attachment: HARMONY-2684.patch

Patch corrects method paint() in BasicSplitPaneUI.java class for compatibility with RI.

> [classlib][swing] javax.swing.plaf.basic.BasicSplitPaneUI.paint() does not throw NPE on Harmony while it does on RI.
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2684
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2684
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Ilya Okomin
>            Priority: Minor
>         Attachments: HARMONY-2684.patch, test.java
>
>
> Harmony works silently in javax.swing.plaf.basic.BasicSplitPaneUI.paint(Graphics g,JComponent jc) while
> RI throws unspecified NPE.
> Test case to reproduce in the attachment.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.