]
Bela Ban resolved JGRP-2229.
----------------------------
Resolution: Done
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.