-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 3.7.2
-
Component/s: Internal Code
-
None
-
Fully Compatible
-
ALL
-
Platforms 2018-02-26, Platforms 2018-03-12
The Decorable::declareDecorationWithOwner call instantiates a constructor function, which passes the owner pointer given to the decorations container here. However, since Decorable is a super class of the class it is enhancing, the this pointer points to where the super class starts, not where the actual decorated class is. Because of this, decorations with owner receive the wrong owner pointer here.
- is related to
-
SERVER-34512 Fix GDB decorable pretty printer
- Closed