You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "matt c (JIRA)" <de...@beehive.apache.org> on 2006/07/06 00:27:31 UTC

[jira] Assigned: (BEEHIVE-1113) Control compilation fails for eventset with no methods

     [ http://issues.apache.org/jira/browse/BEEHIVE-1113?page=all ]

matt c reassigned BEEHIVE-1113:
-------------------------------

    Assign To: matt c  (was: Jacob Danner)

> 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