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

Vladimir Dzhuvinov (JIRA) issues at jboss.org
Wed Oct 25 01:34:00 EDT 2017


    [ https://issues.jboss.org/browse/JGRP-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13481485#comment-13481485 ] 

Vladimir Dzhuvinov commented on JGRP-2229:
------------------------------------------

Superb, thanks! Test passes on my side now with 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