[ http://issues.apache.org/jira/browse/BEEHIVE-1113?page=all ] matt c closed BEEHIVE-1113: ---------------------------
Verified as fixed. EventSet with no methods now compiles. Build synced to SVN 417573M > Control compilation fails for eventset with no methods > ------------------------------------------------------ > > Key: BEEHIVE-1113 > URL: http://issues.apache.org/jira/browse/BEEHIVE-1113 > Project: Beehive > Type: Bug > Components: Controls > Versions: 1.0.1 > Reporter: Chad Schoettger > Assignee: matt c > Priority: Minor > Fix For: v.next > > Create a control interface which has an event set with no methods, > @ControlInterface > public interface HelloCtrl { > @EventSet() > public interface Callback { > } > } > Compilation fails with the following error: > exception java.lang.NoSuchMethodException is never thrown in body of > corresponding try statement > [javac] catch (NoSuchMethodException __bc_nsme) > [javac] ^ > [javac] 1 error > Granted this is an edge case but there is no reason why compilation should > fail in this case. Will work on a fix so this case compiles correctly. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
