You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Yang ZHONG (JIRA)" <tu...@ws.apache.org> on 2006/11/22 21:21:03 UTC

[jira] Updated: (TUSCANY-932) Invoking DataObject.isSet(String path) with invalid path would result in NPE

     [ http://issues.apache.org/jira/browse/TUSCANY-932?page=all ]

Yang ZHONG updated TUSCANY-932:
-------------------------------

    Attachment: DataObjectUtil.932

The attached patch is incorporated with Frank's review. Thanks to Frank.

> Invoking DataObject.isSet(String path) with invalid path would result in NPE
> ----------------------------------------------------------------------------
>
>                 Key: TUSCANY-932
>                 URL: http://issues.apache.org/jira/browse/TUSCANY-932
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-Mx
>            Reporter: Fuhwei Lwo
>         Attachments: DataObjectUtil.932
>
>
> The 2.1 spec didn't mention what outcome should be when invoking DataObject.isSet(String path) with an invalid path so I am not sure whether NPE is acceptable.
> The spec did mention <bold>"?Note that attempts to modify read-only properties (using set, unset or delete) cause an exception."</bold>

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org