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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Anton Vinogradov (Jira)
Andrey N. Gura created IGNITE-12806:
---------------------------------------

             Summary: 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
         Environment: Inverted usage
            Reporter: Andrey N. Gura
             Fix For: 2.8.1


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)