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

Interception does not work if a bridge method implementation uses invokespecial instruction

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 3.0.1.Final, 2.4.5.Final
    • None

    Description

      For covariant return types and generics a compiler must generate synthetic bridge methods. Weld does not intercept these methods, instead the underlying implementation methods are intercepted. However, this approach does not work if a bridge method impl uses invokespecial instruction. Note that neither JLS nor JVM spec define how bridge methods should be implemented.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mkouba@redhat.com Martin Kouba
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: