Yes, I spent the weekend upgrading to 0.8 (and Git) and the problem is still
there.
When you use an interface extending Serializable as a Property it fails to
go to 'valueType = new SerializableType( nameOf( type ) )' in
ValueType.newValueType() because of the
ValueCompositeType.isValueComposite() test
The current code is :
public static boolean isValueComposite( Type type )
{
return type instanceof Class && ( (Class) type ).isInterface(); <--
catching all interfaces
}
And the previous one (weeks ago):
public static boolean isValueComposite( Type type )
{
return type instanceof Class &&
ValueComposite.class.isAssignableFrom( (Class) type ); <-- catching
anything assignable to ValueComposite
}
Am I lost or am I lost ?
Philippe
Rickard Öberg-3 wrote:
>
> philippe van dyck wrote:
>> BTW, could be related to http://issues.ops4j.org/browse/QI-181
>
> Are you still having problems with this? I am using properties with
> serializable types and it's working, so I don't really understand your
> problem. Can you give us more specifics?
>
> /Rickard
>
> _______________________________________________
> qi4j-dev mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/qi4j-dev
>
>
--
View this message in context:
http://www.nabble.com/Value-%21%3D-Serializable-Interface-tp23255086p23360776.html
Sent from the Qi4j-dev mailing list archive at Nabble.com.
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev