You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "James Song (JIRA)" <be...@incubator.apache.org> on 2005/02/01 01:21:20 UTC

[jira] Commented: (BEEHIVE-218) Java generics on controls:needs a programmatic instantiation model

     [ http://issues.apache.org/jira/browse/BEEHIVE-218?page=comments#action_58344 ]
     
James Song commented on BEEHIVE-218:
------------------------------------

To repro: ant detailed.tests from controls/test

> Java generics on controls:needs a programmatic instantiation model
> ------------------------------------------------------------------
>
>          Key: BEEHIVE-218
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-218
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Versions: V1Beta
>     Reporter: James Song
>     Assignee: Kyle Marvin
>      Fix For: V1Beta

>
> A SimpleControl with a type parameter is checked-in by r149232.
> It is instantiated declaratively without any problem.
> When instantiating this control programmatically, a ClassNotFoundException is thrown. This might be caused by  java.beans.Beans.instantiate not supporting instantiating bean class with type parameter.
> For instantiating controls with type parameter, some instruction in ControlProgramming.doc might be necessary.  

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira