There already is a test exactly like this:
org.jboss.jsr299.tck.tests.event.broken.inject.withTypeVariable.EventInjectionWithUndefinedTypeVariableTest, but apparently the RI does not detect the error.  The test is also not currently assigned to any assertion, but the spec clearly states that this is not allowed; however, it states that a IllegalArgumentException is to be thrown, both runtime and not (Section 10.3.1).

I'm currently reviewing all the tests and assertions for events, so I'll cover this oversight.

Dan Allen
Senior Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597