You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey A. Ivanov (JIRA)" <ji...@apache.org> on 2006/12/20 10:48:21 UTC

[jira] Created: (HARMONY-2812) [classlib][swing] j.s.plaf.basic.BasicTextAreaUI.create(Element) throws unspecified NPE on RI

[classlib][swing] j.s.plaf.basic.BasicTextAreaUI.create(Element) throws unspecified NPE on RI
---------------------------------------------------------------------------------------------

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


javax.swing.plaf.basic.BasicTextAreaUI.create(null) throws NPE on RI whereas returns null on Harmony.

-- 
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-2812) [classlib][swing] j.s.plaf.basic.BasicTextAreaUI.create(Element) throws unspecified NPE on RI

Posted by "Alexey A. Ivanov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2812?page=all ]

Alexey A. Ivanov updated HARMONY-2812:
--------------------------------------

    Attachment: H2812-BasicTextAreaUI.patch

The fix: just removed check for null.

Also added @Override annotations and added type params where applicable.

> [classlib][swing] j.s.plaf.basic.BasicTextAreaUI.create(Element) throws unspecified NPE on RI
> ---------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2812
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2812
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>            Priority: Minor
>         Attachments: H2812-BasicTextAreaUI.patch, H2812-BasicTextAreaUITest.patch
>
>
> javax.swing.plaf.basic.BasicTextAreaUI.create(null) throws NPE on RI whereas returns null on Harmony.

-- 
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] Closed: (HARMONY-2812) [classlib][swing] j.s.plaf.basic.BasicTextAreaUI.create(Element) throws unspecified NPE on RI

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

Alexey A. Ivanov closed HARMONY-2812.
-------------------------------------


Thank you, Alexey.

> [classlib][swing] j.s.plaf.basic.BasicTextAreaUI.create(Element) throws unspecified NPE on RI
> ---------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2812
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2812
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>         Assigned To: Alexey Petrenko
>            Priority: Minor
>         Attachments: H2812-BasicTextAreaUI.patch, H2812-BasicTextAreaUITest.patch
>
>
> javax.swing.plaf.basic.BasicTextAreaUI.create(null) throws NPE on RI whereas returns null on Harmony.

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


[jira] Commented: (HARMONY-2812) [classlib][swing] j.s.plaf.basic.BasicTextAreaUI.create(Element) throws unspecified NPE on RI

Posted by "Alexey A. Ivanov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-2812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466968 ] 

Alexey A. Ivanov commented on HARMONY-2812:
-------------------------------------------

Mark,
This issue is duplicate of HARMONY-2602 which you have resolved. (By the way, the test code does not mention it is a regression.)

Sorry for the inconvenience.

I can update the patches to comment out the empty test cases and fix the code so that it has no warnings from compiler.

> [classlib][swing] j.s.plaf.basic.BasicTextAreaUI.create(Element) throws unspecified NPE on RI
> ---------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2812
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2812
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>            Priority: Minor
>         Attachments: H2812-BasicTextAreaUI.patch, H2812-BasicTextAreaUITest.patch
>
>
> javax.swing.plaf.basic.BasicTextAreaUI.create(null) throws NPE on RI whereas returns null on Harmony.

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


[jira] Resolved: (HARMONY-2812) [classlib][swing] j.s.plaf.basic.BasicTextAreaUI.create(Element) throws unspecified NPE on RI

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

Alexey Petrenko resolved HARMONY-2812.
--------------------------------------

    Resolution: Duplicate
      Assignee: Alexey Petrenko

Duplicate of HARMONY-2602.

Alexey, please verify.

> [classlib][swing] j.s.plaf.basic.BasicTextAreaUI.create(Element) throws unspecified NPE on RI
> ---------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2812
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2812
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>         Assigned To: Alexey Petrenko
>            Priority: Minor
>         Attachments: H2812-BasicTextAreaUI.patch, H2812-BasicTextAreaUITest.patch
>
>
> javax.swing.plaf.basic.BasicTextAreaUI.create(null) throws NPE on RI whereas returns null on Harmony.

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


[jira] Updated: (HARMONY-2812) [classlib][swing] j.s.plaf.basic.BasicTextAreaUI.create(Element) throws unspecified NPE on RI

Posted by "Alexey A. Ivanov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2812?page=all ]

Alexey A. Ivanov updated HARMONY-2812:
--------------------------------------

    Attachment: H2812-BasicTextAreaUITest.patch

Regression test.

I've commented out empty test-methods.

> [classlib][swing] j.s.plaf.basic.BasicTextAreaUI.create(Element) throws unspecified NPE on RI
> ---------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2812
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2812
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>            Priority: Minor
>         Attachments: H2812-BasicTextAreaUI.patch, H2812-BasicTextAreaUITest.patch
>
>
> javax.swing.plaf.basic.BasicTextAreaUI.create(null) throws NPE on RI whereas returns null on Harmony.

-- 
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-2812) [classlib][swing] j.s.plaf.basic.BasicTextAreaUI.create(Element) throws unspecified NPE on RI

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

Mark Hindess commented on HARMONY-2812:
---------------------------------------

This test passes without the fix for me.


> [classlib][swing] j.s.plaf.basic.BasicTextAreaUI.create(Element) throws unspecified NPE on RI
> ---------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2812
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2812
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>            Priority: Minor
>         Attachments: H2812-BasicTextAreaUI.patch, H2812-BasicTextAreaUITest.patch
>
>
> javax.swing.plaf.basic.BasicTextAreaUI.create(null) throws NPE on RI whereas returns null on Harmony.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira