]
Martin Kouba commented on CDI-694:
----------------------------------
It's always better to say what happens if a rule is violated.
Make an observer that uses both @Observes and @ObservesAsync
forbidden
----------------------------------------------------------------------
Key: CDI-694
URL:
https://issues.jboss.org/browse/CDI-694
Project: CDI Specification Issues
Issue Type: Bug
Reporter: John Ament
Fix For: 2.0 .Final
Not explicitly called out in the spec text, we should make an observer that has both
annotations forbidden.
RI presently throws a DefinitionException.