[infinispan-issues] [JBoss JIRA] (ISPN-9899) RemoteInfinispanCacheMeterBinderProvider incorrect cast

Katia Aresti (Jira) issues at jboss.org
Wed Jan 23 09:30:00 EST 2019


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

Katia Aresti updated ISPN-9899:
-------------------------------
    Description: 
There is an incorrect cast in the RemoteInfinispanCacheMeterBinderProvider class.
We do cache instanceof RemoteCache instead of cache.getNativeCache().

This causes an error when using Actuator. Add IT tests to avoid this problem to come back

  was:
There is an incorrect cast in the `RemoteInfinispanCacheMeterBinderProvider` class.
We do if(cache instanceof RemoteCache) { instead of cache.getNativeCache().

This causes an error on the 



> RemoteInfinispanCacheMeterBinderProvider incorrect cast
> -------------------------------------------------------
>
>                 Key: ISPN-9899
>                 URL: https://issues.jboss.org/browse/ISPN-9899
>             Project: Infinispan
>          Issue Type: Bug
>            Reporter: Katia Aresti
>            Priority: Critical
>
> There is an incorrect cast in the RemoteInfinispanCacheMeterBinderProvider class.
> We do cache instanceof RemoteCache instead of cache.getNativeCache().
> This causes an error when using Actuator. Add IT tests to avoid this problem to come back



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list