invokespecial on indirect super interface is generated by Java adapter generator

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: None
    • Component/s: core-libs
    • None

        See the containing bug for the description (first part) of the problem.

        Issue:

        When script implements an interface with default methods, generated adapter class introduces delegating methods to call super type (i.e. interface ) methods. But, when indirectly inherited interface has such a default method, generated adapter wrongly delegates to super type of the super type. Invokespecial instruction calling such indirect super type's method is not valid. The fix is to use the immediate super types only for such delegating methods.

              Assignee:
              Sundararajan Athijegannathan
              Reporter:
              Sundararajan Athijegannathan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: