]
Pete Muir updated WBRI-256:
---------------------------
Fix Version/s: 1.0.0.PREVIEW2
can't inject a instance which has ParameterizedType super class.
----------------------------------------------------------------
Key: WBRI-256
URL:
https://jira.jboss.org/jira/browse/WBRI-256
Project: Web Beans
Issue Type: Bug
Components: Simple Beans
Affects Versions: 1.0.0.PREVIEW1
Reporter: Takeshi Kondo
Assignee: Nicklas Karlsson
Fix For: 1.0.0.PREVIEW2
for instnce
--
public class LookupSingiletonMap {
@Current
SingletonMap map;
}
@ApplicationScoped
public class SingletonMap extends ConcurrentHashMap<String, Object> {
}
---
Manager can't inject SingletonMap to LookupSingiletonMap.
because if injected instance has ParameterizedType super class,
org.jboss.webbeans.introspector.jlr.AbstractAnnotatedItem#isAssignableFrom(Class<?>
type, Type[] actualTypeArguments) method always returns false.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: