Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-170

can't inject a instance which has ParameterizedType super class.

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

          People

            pmuiratbleepbleep Pete Muir (Inactive)
            nocello_jira Takeshi Kondo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: