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

Reinhard Sandtner commented on OWB-1240:
----------------------------------------

was not able to reproduce it in a unit-test

i think the problem is, if the inner class has a ct with at least one annotated 
arg and the annotation is not available at runtime

will try to put this into a unit test later

> Non-static inner classes should not get picked up as CDI Beans
> --------------------------------------------------------------
>
>                 Key: OWB-1240
>                 URL: https://issues.apache.org/jira/browse/OWB-1240
>             Project: OpenWebBeans
>          Issue Type: Task
>          Components: Core
>    Affects Versions: 1.7.4, 2.0.4
>            Reporter: Mark Struberg
>            Assignee: Reinhard Sandtner
>            Priority: Major
>             Fix For: 1.7.5, 2.0.5
>
>         Attachments: owb-inner-class-sample.zip
>
>
> In some scenarios we try to scan non-static inner classes and pick them up as 
> CDI beans. Which we should not do. 
> Reinhard will provide a sample for it.



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

Reply via email to