[ http://issues.apache.org/jira/browse/BEEHIVE-277?page=all ] Eddie O'Neil closed BEEHIVE-277: --------------------------------
Closing as Zach's comment implies that this has been fixed. > Passing a control interface in a driver causes Milton to fail > ------------------------------------------------------------- > > Key: BEEHIVE-277 > URL: http://issues.apache.org/jira/browse/BEEHIVE-277 > Project: Beehive > Type: Bug > Components: Controls > Versions: v1m1 > Reporter: Joe Pemberton > Assignee: Zach Smith > Priority: Minor > Fix For: v1m1 > > Milton should be able to handle driver methods whose parameters are either > control interfaces or beans. Currently, only beans work. If this is by > design, then Milton should fail gracefully with a useful error message. > Right now, the user only gets "java.lang.ClassCastException: > com.sun.tools.apt.mirror.type.InterfaceTypeImpl" when using an interface. > @Milton.Test > public Report testTypeParameter(DriverManagerConnectionCtrlBean control){ > .......... > } > //Fails with obscure exception > //java.lang.ClassCastException: > com.sun.tools.apt.mirror.type.InterfaceTypeImpl > @Milton.Test > public Report testTypeParameter(DriverManagerConnectionCtrl control){ > .......... > } -- 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