[ 
https://issues.apache.org/jira/browse/OWB-327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846085#action_12846085
 ] 

Mark Struberg commented on OWB-327:
-----------------------------------

spec section 2.4.1 states that "If an interceptor or decorator has any scope 
other than @Dependent, non-portable behaviour results."

We should drop any other scope than @Dependent and log a warning in such a case.

> annotating an Interceptor with @ApplictionScoped leads to OutOfMemory
> ---------------------------------------------------------------------
>
>                 Key: OWB-327
>                 URL: https://issues.apache.org/jira/browse/OWB-327
>             Project: OpenWebBeans
>          Issue Type: Bug
>    Affects Versions: M4
>            Reporter: Mark Struberg
>            Assignee: Gurkan Erdogdu
>            Priority: Critical
>             Fix For: 1.0.0
>
>
> If you write an Interceptor and manually annotate it @ApplicationScoped then 
> the memory will get used up until a OOME.
> Please note that an Interceptor is per definition @Dependent scoped as of 
> section 6.4.1. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to