db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Jefferson <a...@jpox.org>
Subject Re: Minutes: JDO TCK Conference Call Friday, Aug 19, 9 am PST
Date Sat, 20 Aug 2005 06:49:53 GMT
> FieldsOfObject still doesn't work. JDO-120. AI: Need feedback from
> Erik or Andy.

Feedback : TestFieldsOfObject.java is not correct. It's still trying to use 
Object values that are String, and Integer even though the metadata is now 
specifying that the "implementation" of the Object field is SimpleClass. The 
"firstValue", "secondValue" values need changing to be SimpleClass objects. 

JPOX is throwing a ClassCastException as is required by the spec 6.4.3
<spec>
If an implementation restricts instances to be assigned to the field, a 
ClassCastException must be thrown at the time of any incorrect assignment.
</spec>
though the message currently given in the exception could be made more 
explicit.


-- 
Andy
Java Persistent Objects - JPOX

Mime
View raw message