| Matej Novotny Thanks a lot for helping with this issue.
CDI 1.2 didn't have this functionality for sure. Therefore, if this worked, it could have been incidental or you might have been using the EE 8 mode on WFLY 12 where Weld 3 was already present?
Yeah, I think I enabled EE 8 mode for Wildfly. But I'm not 100% sure. It has been quite some time ago. ![]()
Furthermore, in your code, those two observers have different @WithAnnotations. So I presume you have been observing this issue with PAT events which contained all the annotations required by both observers, am I correct?
That's correct. In my case the corresponding classes have annotations which trigger multiple of the PAT observers.
[...] in other words, it will show itself on WFLY (sometimes crashing, sometimes passing based on random order)
That's exactly the behavior I'm seeing in my tests, too. |