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 2015/04/12 21:05:12 UTC

[jira] [Resolved] (OWB-809) addBeans does not invalidate resolvedComponents cache in InjectionResolver

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

Mark Struberg resolved OWB-809.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 1.5.0
         Assignee: Mark Struberg

As per spec this must not even be needed anymore.

> addBeans does not invalidate resolvedComponents cache in InjectionResolver
> --------------------------------------------------------------------------
>
>                 Key: OWB-809
>                 URL: https://issues.apache.org/jira/browse/OWB-809
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.7
>            Reporter: Jens Schumann
>            Assignee: Mark Struberg
>             Fix For: 1.5.0
>
>
> As discussed on the owb user mailing list I believe the caching behavior of InjectionResolver is broken since a previously created resolvedComponents cache entry is not invalidated after an BeanManager#addBeans call.
> http://mail-archives.apache.org/mod_mbox/openwebbeans-user/201303.mbox/%3c90EFADCA8D66DA4DA4CEC2F2BFE26F2B2DB91737@K99F-PEXC01.openknowledge.de%3e
> CDI 1.1 will prohibit accessing getBeans during AfterBeansDiscovery, nevertheless the current state is a 1.0 regression and may cause other unexpected side effects internally.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)