]
Pete Muir closed JBSEAM-3246.
-----------------------------
Resolution: Done
Reflections.getCollectionElementType does not deal with generics
classes
------------------------------------------------------------------------
Key: JBSEAM-3246
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3246
Project: Seam
Issue Type: Bug
Reporter: Daniel Roth
Assignee: Pete Muir
Fix For: 2.1.0.BETA1
If you have a component which takes a Class<? extends SomeClass> as attribute,
IllegalArgumentException will be thrown:
if ( !(typeArgument instanceof Class) )
{
throw new IllegalArgumentException("type argument not a class");
}
if you just use a Class, it will work.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: