Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-654

manual lookups of beans with generics fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.3
    • 1.6.0
    • Injection and Lookup
    • None

    Description

      the type-check it too strict right now.

      e.g. for:
      public interface CustomBean<T>
      {
      //...
      }

      public class CustomBeanImpl implements CustomBean<String>
      {
      //...
      }

      the >manual< lookup by type with CustomBean.class fails, but it works correctly e.g. in case of:

      public class CustomBeanImpl implements CustomBean
      {
      //...
      }

      Attachments

        1. OWB-654_test.zip
          9 kB
          Gerhard Petracek
        2. OWB-654.patch
          14 kB
          Daniel Cunha

        Activity

          People

            struberg Mark Struberg
            gpetracek Gerhard Petracek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: