> I will soon blog about this common caveat when mixing subtype polymorphism
> with generic polymorphism on the same type. It's a very subtle caveat, but
> the only type in the type hierarchy that is "allowed" to terminate the
> generic type recursion is the "lowest" type, which should be a final class!
> A good example for this is the java.lang.Enum class, whose
> "recursion-terminating" types are final
>

Here's some more insight on this subject:
http://blog.jooq.org/2013/06/28/the-dangers-of-correlating-subtype-polymorphism-with-generic-polymorphism

I'm sure this will be republished on DZone, too and trigger some more
interesting discussions.

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to