You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Bruno P. Kinoshita (JIRA)" <ji...@apache.org> on 2017/10/12 07:18:00 UTC

[jira] [Commented] (JCS-184) Unexpected dispose() in CompositeCacheManager.release()

    [ https://issues.apache.org/jira/browse/JCS-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16201550#comment-16201550 ] 

Bruno P. Kinoshita commented on JCS-184:
----------------------------------------

Fixed in r1811915.

For some reason I cannot assign this issue to myself, nor change its status. Will post a question on the mailing list to see if someone knows what's wrong, or if I would need to contact infra.

Thank you for reporting the issue. I've added a small unit test (couldn't find a unit test class specifically for the CompositeCacheManager so created one), and also a note in changes.xml with credit to your user in JIRA.

Cheers
Bruno

> Unexpected dispose() in CompositeCacheManager.release()
> -------------------------------------------------------
>
>                 Key: JCS-184
>                 URL: https://issues.apache.org/jira/browse/JCS-184
>             Project: Commons JCS
>          Issue Type: Bug
>          Components: Composite Cache
>    Affects Versions: jcs-2.2
>            Reporter: at
>
> If debug-logging is *not* enabled the return-statement is ignored and the code falls-through to cache.dispose().
> See Line 739 in 
> http://svn.apache.org/viewvc/commons/proper/jcs/tags/commons-jcs-2.2/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/control/CompositeCacheManager.java?revision=1803806&view=markup



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)