Hi All,
I've been looking into Qi4J these last months and I plan to use the
0.7 core release. Great work !
However I have a problem with a recent change in ValueCompositeType :
public static boolean isValueComposite( Type type )
{
return type instanceof Class && ((Class)type).isInterface();
}
Here is the previous version:
public static boolean isValueComposite( Type type )
{
return type instanceof Class &&
ValueComposite.class.isAssignableFrom( (Class) type );
}
The effect of this change is that there is no support for simple
serializable interfaces any more and all interfaces must be assignable
to the ValueComposite class (or it will fail with a class cast
exception later in
org.qi4j.runtime.service.ServiceReferenceInstance.getInstance()).
Since when I go back to the previous version everything in 'core'
seems to be working, could you please explain the idea behind this
limitation ?
Best Regards,
Philippe
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev