Paul Ferraro created ISPN-6186:
----------------------------------
Summary: Public CommandAwareRpcDispatcher method signatures reference
non-public classes
Key: ISPN-6186
URL:
https://issues.jboss.org/browse/ISPN-6186
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 8.1.1.Final, 8.2.0.Beta1
Reporter: Paul Ferraro
The public CommandAwareRpcDispatcher.invokeRemoteCommands(...) method returns a
RspListFuture which is a package protected class. Likewise, the invokeRemoteCommand(...)
method returns a SingleResponseFuture, which is also package protected. While this is
legal, it is sloppy, as a non-package class can neither invoke these methods or override
them.
These methods should either be package protected - or the visibility of the return types
be made public - otherwise, they cannot be overridden.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)