Hi Stepan,

Thank you for your attention to my patch first of all. IMHO everything
is ok except for the null-check you add to the setSource() method. It
seems RI does not check for null in this case. At least your
regression test fails on Sun JDK 1.5.0_06:

No expected NullPointerException
junit.framework.AssertionFailedError: No expected NullPointerException
        at 
org.apache.harmony.beans.tests.java.beans.PropertyEditorSupportTest.test_setSourceLjava_lang_Object(PropertyEditorSupportTest.java:291)

Thanks,

2006/9/12, Stepan Mishura (JIRA) <[EMAIL PROTECTED]>:
    [ http://issues.apache.org/jira/browse/HARMONY-1409?page=all ]

Stepan Mishura updated HARMONY-1409:
------------------------------------

   Summary: [classlib][beans] add missing get/setSource methods to 
PropertyEditorSupport  (was: [classlib][beans] PropertyEditorSupport cleanup)

> [classlib][beans] add missing get/setSource methods to PropertyEditorSupport
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-1409
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1409
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>         Environment: ws2003
>            Reporter: Alexei Zakharov
>         Assigned To: Stepan Mishura
>         Attachments: PropertyEditorSupport.patch
>
>
> Attached patch adds two missing API methods that were introduced in Java 1.5 
API. In addition to that all unnecessary javadoc comments are removed (@author and 
etc.), the coding style is corrected.

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



--
Alexei Zakharov,
Intel Middleware Product Division

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to