harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-1765) [classlib][beans] PropertyDescriptor(String, Class, String, String) throws IntrospectionException
Date Thu, 23 Nov 2006 16:34:03 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1765?page=all ]

Alexei Zakharov closed HARMONY-1765.

    Resolution: Fixed


> [classlib][beans] PropertyDescriptor(String, Class, String, String) throws IntrospectionException
> -------------------------------------------------------------------------------------------------
>                 Key: HARMONY-1765
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1765
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Non-bug differences from RI
>         Environment: winXP
>            Reporter: Alexei Zakharov
>            Priority: Minor
> RI's implementation of the constructor java.beans.PropertyDescriptor(String property,
Class beanClass, String readMethod, String writeMethod) throws IntrospectionException if invalid
*write* method name is specified and throws nothing in case of invalid *read* method name.
However, in another constructor - PropertyDescriptor(String property, Method readMethod, Method
writeMethod) - RI validates both methods and throws IntrospectionException in case of any
> IMO such behavior is inconsistent. No one objected in the list [1][2] to preserving the
current Harmony behavior.
> Harmony currently throws exception in both cases (for read and write methods) in PropertyDescriptor(String,
Class, String, String) as well as in PropertyDescriptor(String, Method, Method).
> [1] http://mail-archives.apache.org/mod_mbox/incubator-harmony-dev/200609.mbox/%3c2c9597b90609190451g74fec356k2270f515dc5e7ef6@mail.gmail.com%3e
> [2] http://mail-archives.apache.org/mod_mbox/incubator-harmony-dev/200610.mbox/%3c26c14c2a0610060538x27cec371tb9d17dca0e22b7d7@mail.gmail.com%3e

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