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

Proxy loses generic type information

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 2.1.0.Final
    • None
    • None

    Description

      Hey all,

      CDI proxies lose generic type information which screws up Resteasy:

      https://issues.jboss.org/browse/RESTEASY-985

      Basically, in the bug, an injected bean's method is losing parameter
      type information. Can you either:

      a) Fix weld proxies so that generic type information is not lost (in
      this case, it is method parameter type information). Preferred

      b) Have a supported way going forward to determine if the class is a CDI
      proxy. A marker interface or an annotation added to the proxy class
      would be best, then I wouldn't need to have a binary dependency on Weld
      and could do this via reflect calls.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              patriot1burke@gmail.com Bill Burke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: