[webbeans-issues] [JBoss JIRA] Created: (WBRI-287) No autoboxing for Instance
Nicklas Karlsson (JIRA)
jira-events at lists.jboss.org
Tue Jul 7 15:06:51 EDT 2009
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