Specified type (@Inject Event or Event.select())
|
Event payload
|
Expected behavior
|
List<String>
|
new ArrayList<T>()
|
Should work - <T> is inferred
|
List<?>
|
new ArrayList<String>()
|
? depends on CDI-494
|
List<?>
|
new ArrayList<T>()
|
? depends on CDI-494
|
List<T>
|
new ArrayList<String>()
|
Should fail - weld cannot verify the runtime type actual type argument
|
|