[ http://issues.apache.org/jira/browse/JDO-345?page=all ]
Michael Bouschen updated JDO-345:
---------------------------------
Attachment: JDO-345.patch
Attached you find a patch for review. I changed the test to call methods
Collection.add and Collection.remove that are known to be mutating.
> MethodsAndObjectConstructionNotSupported (A14.6.2-8) should allow getX()
> ------------------------------------------------------------------------
>
> Key: JDO-345
> URL: http://issues.apache.org/jira/browse/JDO-345
> Project: JDO
> Issue Type: Bug
> Components: tck20
> Reporter: Ilan Kirsh
> Assigned To: Michael Bouschen
> Fix For: JDO 2 maintenance release 1, JDO 2.0 TCK challenge fixes
>
> Attachments: JDO-345.patch
>
>
> 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