You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Chad Schoettger (JIRA)" <de...@beehive.apache.org> on 2006/05/22 21:42:29 UTC

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

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


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

Posted by "matt c (JIRA)" <de...@beehive.apache.org>.
     [ 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


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

Posted by "Chad Schoettger (JIRA)" <de...@beehive.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-1113?page=all ]
     
Chad Schoettger resolved BEEHIVE-1113:
--------------------------------------

    Fix Version: v.next
     Resolution: Fixed
      Assign To: Jacob Danner  (was: Chad Schoettger)

Fixed, svn rev 408746

> 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: Jacob Danner
>     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


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

Posted by "matt c (JIRA)" <de...@beehive.apache.org>.
     [ 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