[webbeans-issues] [JBoss JIRA] Closed: (WBRI-287) No autoboxing for Instance

Pete Muir (JIRA) jira-events at lists.jboss.org
Tue Jul 7 17:54:51 EDT 2009


     [ https://jira.jboss.org/jira/browse/WBRI-287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir closed WBRI-287.
--------------------------

    Resolution: Done


I added a test to the TCK as this is spec'd as portable behaviour.

> No autoboxing for Instance
> --------------------------
>
>                 Key: WBRI-287
>                 URL: https://jira.jboss.org/jira/browse/WBRI-287
>             Project: Web Beans
>          Issue Type: Bug
>          Components: Examples, Reflection
>    Affects Versions: 1.0.0.PREVIEW1
>            Reporter: Nicklas Karlsson
>            Assignee: Pete Muir
>             Fix For: 1.0.0.CR1
>
>
> In numberguess, Game.java
> @Random Instance<Integer> randomNumber;
> and Generator.next()
>  @Produces @Random int next()
> gives an
> java.lang.IllegalArgumentException: The given beanType is not a type class java.lang.Integer of the bean Dependent unnamed producer method bean [int] API types [int, class java.lang.Object], binding types [@javax.enterprise.inject.Any(), @org.jboss.webbeans.examples.numberguess.Random()]
> 	org.jboss.webbeans.BeanManagerImpl.getReference(BeanManagerImpl.java:891)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the weld-issues mailing list