You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2009/08/10 01:00:14 UTC
[jira] Created: (OWB-129) OWB crashes on creating disposer method
OWB crashes on creating disposer method
---------------------------------------
Key: OWB-129
URL: https://issues.apache.org/jira/browse/OWB-129
Project: OpenWebBeans
Issue Type: Bug
Reporter: Mark Struberg
Assignee: Gurkan Erdogdu
DefinitionUtil#createDisposalMethodsWithRealizations tries to resolve the producer method for the current disposal function.
This doesn't work if the @Produces and @Disposal are defined inside the same bean, cause the producerMethods will only be registered afterwards.
Set<Bean<?>> set = InjectionResolver.getInstance().implResolveByType(type, annot);
returns an empty Set in this case.
I think we may safely continue in this case, because the disposal method seems to be detected nontheless it seems.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (OWB-129) OWB crashes on creating disposer method
Posted by "Gurkan Erdogdu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OWB-129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gurkan Erdogdu closed OWB-129.
------------------------------
Resolution: Fixed
Fix Version/s: M4
> OWB crashes on creating disposer method
> ---------------------------------------
>
> Key: OWB-129
> URL: https://issues.apache.org/jira/browse/OWB-129
> Project: OpenWebBeans
> Issue Type: Bug
> Reporter: Mark Struberg
> Assignee: Gurkan Erdogdu
> Fix For: M4
>
>
> DefinitionUtil#createDisposalMethodsWithRealizations tries to resolve the producer method for the current disposal function.
> This doesn't work if the @Produces and @Disposal are defined inside the same bean, cause the producerMethods will only be registered afterwards.
> Set<Bean<?>> set = InjectionResolver.getInstance().implResolveByType(type, annot);
> returns an empty Set in this case.
> I think we may safely continue in this case, because the disposal method seems to be detected nontheless it seems.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.