Skip to content

Bug 490231 - [otdre] implement base-super calls for bound super-base

From https://bugs.eclipse.org/490231

Two tests org.eclipse.objectteams.otdt.tests.otjld.callinbinding.BaseCalls.test4513_basecallSuperAccess* are still failing when run against OTDRE:

  • test4513_basecallSuperAccess4

  • test4513_basecallSuperAccess5

see bug 469759 comment 1:

(2) super-base method is bound: it's code will have been moved to _OT$callOrig

...

For (2) we should be fine by generating an invokespecial when the team calls _OT$callOrig. Unfortunately, this invocation is in the static Team._OT$terminalCallNext() (why is it static? can't we override that if needed?)

...

Realistically speaking, (2) should be uncommon.