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
 Assigned to: Chad Schoettger 
    Priority: Minor


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

Reply via email to