Assume I have the following RMI function:
Object foo();
The only implementation is
Object foo() { return "some string"; }
Can I narrow the return type to String without breaking backward compatibility if client and server are not released in one step?