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

Parameter type does not propagated to decorator proxy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • None
    • None
    • None
    • Hide

      1. Build Weld with HEAD of jboss-classfilewriter
      2. Run NonPassivationCapableEventDecoratorTest

      Show
      1. Build Weld with HEAD of jboss-classfilewriter 2. Run NonPassivationCapableEventDecoratorTest

      Because of https://issues.jboss.org/browse/WFLY-11566 we have to add method signature propagation to proxies as well.

      After this change org.jboss.weld.tests.builtinBeans.decorator.broken.NonPassivationCapableEventDecoratorTest started to fail.

      I have looked at this issue and found that the method...

      public org.jboss.weld.tests.builtinBeans.decorator.broken.1966156579$Proxy$_$$_WeldDecoratorProxy.fireAsync(U e
      xtends null)
      

      ... is generated wrongly (extends null - should be T. The signature is OK in the base class but it's get lost during the proxy generation.

      I have looked further and it seemed to me that it may be lost somewhere in
      ...

      org.jboss.weld.annotated.slim.backed.BackedAnnotatedMethod
      org.jboss.weld.annotated.slim.backed.BackedAnnotationParameter
      

      ... which seem to loose the parameter.

              Unassigned Unassigned
              tadamski@redhat.com Tomasz Adamski
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: