Ticket #265 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

OTRE wrongly weaves private base method

Reported by: stephan Owned by:
Priority: major Milestone: OTDT_1.3.0_M4
Component: runtime-environment Version: 1.3.0M3
Keywords: Cc: ofrank@…

Description

ofrank reported a situation where the OTRE wrongly weaves into a private base method 'thinking' that the method overrides a bound method from the super class, while being private it does in fact not override.

I adopted the test case as X.1.1-otjld-binding-inheritance-14

Looking into the byte code, the weaving

  • moves the original code to an orig-method
  • replaces the original content with a super call, which causes an illegal access at runtime.

Change History

Changed 3 years ago by stephan

  • cc ofrank@… added
  • status changed from new to closed
  • resolution set to fixed
  • milestone set to OTDT_1.3.0_M4

Fixed in r21676.

Note: See TracTickets for help on using tickets.