You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Carlos Antonio Rodrigues (JIRA)" <ji...@apache.org> on 2019/02/18 09:52:00 UTC

[jira] [Created] (TOMEE-2469) Allow ObservesAsync on CdiPlugin.java

Carlos Antonio Rodrigues created TOMEE-2469:
-----------------------------------------------

             Summary: Allow ObservesAsync on CdiPlugin.java
                 Key: TOMEE-2469
                 URL: https://issues.apache.org/jira/browse/TOMEE-2469
             Project: TomEE
          Issue Type: Bug
            Reporter: Carlos Antonio Rodrigues


TomEE 8 is coming with CDI 2 but it doesn't accept ObservesAsync at CdiPlugin.java line 490.
|if (m.getValue().getParameters().stream().anyMatch(p -> p.isAnnotationPresent(ObservesAsync.class))) {|

|throw new WebBeansConfigurationException("@ObservesAsync " + method + " not supported on EJB in CDI 2");|

}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)