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

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


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

      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.

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