Bug #206

Nested remote interface definition not supported

Added by achristian almost 2 years ago.

Status:NewStart date:12/29/2017
Priority:NormalDue date:
Assignee:achristian% Done:


Target version:1.3.1


“ProcessMessageRunnable.processNameLookup” contains a bug:

On lines 319 and 327 it calls “Class.getCanonicalName()”. I believe this is in error, as it should use simply “Class.getName()”,

If you use a nested class for your `ServerInterface` in your example: http://dev.root1.de/projects/simon/wiki/Sample_helloworld110


package com.example

Class Server {

public static void main(){
//code largely as the main method for server is on your wiki
interface ServerAPI { public void stuff() }
class ServerAPIImpl implements ServerAPI { @Override public void stuff() }


Then SIMON will attempt to load “com.example.Server.ServerAPI” (which doesn’t exist) rather than the appropriate “com.example.Server$ServerAPI”.

Also available in: Atom PDF