[jboss-jira] [JBoss JIRA] (JGRP-2229) ClassConfigurator.addProtocol doesn't register protocol by magic number

Bela Ban (JIRA) issues at jboss.org
Mon Oct 23 04:58:00 EDT 2017


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

Bela Ban updated JGRP-2229:
---------------------------
    Fix Version/s: 4.0.8


> ClassConfigurator.addProtocol doesn't register protocol by magic number
> -----------------------------------------------------------------------
>
>                 Key: JGRP-2229
>                 URL: https://issues.jboss.org/browse/JGRP-2229
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 4.0.7
>            Reporter: Vladimir Dzhuvinov
>            Assignee: Bela Ban
>            Priority: Minor
>             Fix For: 4.0.8
>
>
> This almost looks like a bug to me.
> When I register my custom ping protocol with *ClassConfigurator.addProtocol*, it only gets registered in *protocol_ids* but not *protocol_names*. So when I do *ClassConfigurator.getProtocol(short)* in my test I get back null.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list