You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Gurkan Erdogdu (JIRA)" <ji...@apache.org> on 2010/02/26 01:18:27 UTC
[jira] Closed: (OWB-308) minor clean up on specialization code path
[ https://issues.apache.org/jira/browse/OWB-308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gurkan Erdogdu closed OWB-308.
------------------------------
Resolution: Fixed
Fix Version/s: M4
> 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
> Fix For: M4
>
> 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.