[ http://issues.apache.org/jira/browse/BEEHIVE-277?page=all ]
Zach Smith resolved BEEHIVE-277:
--------------------------------
Resolution: Fixed
Fixed as of 165069
> 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: V1
> Reporter: Joe Pemberton
> Assignee: Zach Smith
> Priority: Minor
> Fix For: V1
>
> 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