You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Yaroslav Molochkov (Jira)" <ji...@apache.org> on 2020/11/30 14:03:00 UTC

[jira] [Updated] (IGNITE-12806) Incorret usage of Class.isAssignableFrom in SystemViewLocal and SystemViewMBean classes

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

Yaroslav Molochkov updated IGNITE-12806:
----------------------------------------
    Fix Version/s: 2.9.1

> Incorret usage of Class.isAssignableFrom in SystemViewLocal and SystemViewMBean classes
> ---------------------------------------------------------------------------------------
>
>                 Key: IGNITE-12806
>                 URL: https://issues.apache.org/jira/browse/IGNITE-12806
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Andrey N. Gura
>            Assignee: Yaroslav Molochkov
>            Priority: Minor
>              Labels: IEP-35
>             Fix For: 2.10, 2.9.1
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Classes {{SystemViewLocal}} and {{SystemViewMBean}} uses method {{Class.isAssignableFrom}} in incorrect manner. I given cases relation is inverted and doesn't have any sense. In most cases usages of {{Class.isAssignableFrom}} could be avoided.
> See creation of {{AttributeVisitor}} and {{AttributeWithValueVisitor}} instance in mentioned classes.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)