Details
-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
8.2.0.Beta1, 8.1.1.Final
-
None
Description
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.