Bug #84

A annotated remote object must have interfaces

Added by achristian over 8 years ago. Updated over 8 years ago.

Status:ClosedStart date:01/11/2011
Priority:NormalDue date:
Assignee:achristian% Done:


Target version:1.2.0


A annotated remote object must have interfaces. Withg 1.1.0 it's possible to create such a remote object:

public class Client extends AbstractClient { ... }

public abstract AbstractClient implements IClient { ... }

public interface IClient { ... }

In this case, Client has no direct interfaces, and no interfaces is declared with the annotation.

Passing such a object instance to the server as an callback, will result in weird exceptions telling that the argument types do not match. In fact, the object HAS no remote methods.

-> A check has to be added for valid remote objects, which then throws an "UllegalRemoteObjectException" in case of the remote object is faulty.


#1 Updated by achristian over 8 years ago

  • Status changed from Assigned to Closed

fixed with rev 525

Also available in: Atom PDF