[ 
https://issues.apache.org/jira/browse/OWB-308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

YING WANG updated OWB-308:
--------------------------

    Attachment: 308.patch

upload patch.

> minor clean up on specialization code path
> ------------------------------------------
>
>                 Key: OWB-308
>                 URL: https://issues.apache.org/jira/browse/OWB-308
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Injection and Lookup
>    Affects Versions: M3
>            Reporter: YING WANG
>            Assignee: Gurkan Erdogdu
>            Priority: Minor
>         Attachments: 308.patch
>
>
> Ran some tests on recent driver and found a few Exceptions fired due to 
> multiple invocation of bean.setBeanName( ) when configure specialization. 
> Changes in this patch include:
> 1. For class-based specialization, if bean specialization is already 
> configured,  skip setting bean name and populating qualifiers
> 2. For producer-based specialization, comment out 2 blocks of 
> setBeanName/populating qualifiers in old code path, since that is delayed to  
> configSpecializedProducerMethodBeans() in checkSpecializations step.
> 3. Original test case SpecializesProducer1Test will not work, since there is 
> no container and checkSpecializations( ) is not invoked.
> 4. migrate new SpecializesProducer1Test to use a container in newtest package.

-- 
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