[infinispan-issues] [JBoss JIRA] (ISPN-7538) DefaultCacheManager.getCache() warns ISPN000434: Direct usage of the ___defaultcache name to retrieve the default cache is deprecated

Dan Berindei (JIRA) issues at jboss.org
Wed Mar 22 09:26:00 EDT 2017


     [ https://issues.jboss.org/browse/ISPN-7538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Berindei resolved ISPN-7538.
--------------------------------
      Assignee: Dan Berindei  (was: Tristan Tarrant)
    Resolution: Done


Fixed with ISPN-5654.

The test suite still logs a lot of ISPN000434 warnings, but that's because {{TestingUtil.clearContent()}} explicitly calls `getCache(DEFAULT_CACHE_NAME, false)}}.

> DefaultCacheManager.getCache() warns ISPN000434: Direct usage of the ___defaultcache name to retrieve the default cache is deprecated
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ISPN-7538
>                 URL: https://issues.jboss.org/browse/ISPN-7538
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 9.0.0.CR2
>            Reporter: Dan Berindei
>            Assignee: Dan Berindei
>            Priority: Minor
>             Fix For: 9.0.0.Final
>
>
> {{DefaultCacheManager.getCache()}} internally uses {{___defaultcache}} when the there is no default cache defined, but it shouldn't trigger the warning because the user isn't using it directly.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list