db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Bouschen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JDO-345) MethodsAndObjectConstructionNotSupported (A14.6.2-8) should allow getX()
Date Wed, 22 Mar 2006 22:27:45 GMT
    [ http://issues.apache.org/jira/browse/JDO-345?page=comments#action_12371473 ] 

Michael Bouschen commented on JDO-345:
--------------------------------------

I agree we should drop the test from the TCK. 

It might make sense to have a negative test case with a query calling a mutating method such
as Collection.add. Calling a mutating method is not allowed in JDOQL.

> MethodsAndObjectConstructionNotSupported (A14.6.2-8) should allow getX()
> ------------------------------------------------------------------------
>
>          Key: JDO-345
>          URL: http://issues.apache.org/jira/browse/JDO-345
>      Project: JDO
>         Type: Test
>   Components: tck20
>     Reporter: Ilan Kirsh

>
> According to the spec:
>  "Methods, including object construction, are not supported, except for Collection, String,
and Map methods documented below. Implementations might choose to support non-mutating method
calls as non-standard extensions."
> However, MethodsAndObjectConstructionNotSupported expects an exception for method getX().

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


Mime
View raw message