You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ignite TC Bot (Jira)" <ji...@apache.org> on 2020/04/04 10:45:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17075110#comment-17075110 ] 

Ignite TC Bot commented on IGNITE-12806:
----------------------------------------

{panel:title=Branch: [pull/7592/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
[TeamCity *--&gt; Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=5188669&amp;buildTypeId=IgniteTests24Java8_RunAll]

> 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: Major
>              Labels: IEP-35
>             Fix For: 2.8.1
>
>          Time Spent: 10m
>  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)