db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Jefferson <a...@jpox.org>
Subject TCK : ResultClassRequirements test - LongString class
Date Tue, 22 Nov 2005 12:25:59 GMT
The result class LongString has a field "private long l", yet the constructor 
and setter are taking in an "int". This results in failures in the checks 
that JPOX makes. Is this intentional ? 

I would refer to 14.6.12
<spec>
if no public field matches the name and type, a public “set” method that 
returns void and matches the name of the result expression and takes a single 
parameter which is the exact type of the result expression;
</spec>

The type must match.

-- 
Andy

Mime
View raw message