The problem isn't modifying the WF API to return a narrower type. We
can certainly do that. The problem is that existing applications
expect a org.wildfly.clustering.jgroups.ChannelFactory to return an
org.jgroups.Channel. When they upgrade to WF11, they should get a
deprecation warning, not a NoC
Oh shoot, didn't know Channel was referenced directly!
I assume you're upgrading JGroups only on a new major version of
Wildfly, aren't you? Then, returning a JChannel instead of a Channel
shouldn't be an issue, should it?
On 23/08/16 16:01, Paul Ferraro wrote:
> Bela,
>
> Are you sure you want
Bela,
Are you sure you want to drop the Channel interface [1] without any
deprecation? WildFly references the Channel interface in public user
API [1]. I can certainly narrow the type for WF11, but this will
break user applications unexpectedly.
Paul
[1] https://issues.jboss.org/browse/JGRP-20
Most API changes have been done, 12 issues left. I expect the final
release in October.
Note that JGroups-4.0.0-SNAPSHOT is also generated (on every change, IIRC).
Feedback appreciated!
[1] http://belaban.blogspot.ch/2016/08/jgroups-400alpha1-released.html
--
Bela Ban, JGroups lead (http://ww