[ http://issues.apache.org/jira/browse/JDO-345?page=comments#action_12371478 ]
Ilan Kirsh commented on JDO-345: -------------------------------- I also think that this test should be dropped. A negative test might cause a new problem - how the implementation can check if a method is mutating in the general case? I think we already have enough byte code processing in the enhancer. > 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