Project

General

Profile

Bug #9606

wt-port: dynamic pointer cast is incorrectly translated

Added by Raf Pauwels 11 months ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
01/11/2022
Due date:
% Done:

100%

Estimated time:

Description

dynamic_pointer_cast is translated to a Java cast, but unlike the C++ implementation, this will throw in case it fails. The call should be guarded by an instanceof test. Used e.g. in WMenuItem.renderSelected().


Files

0001-Proper-dynamic-cast.patch (2.82 KB) 0001-Proper-dynamic-cast.patch Raf Pauwels, 01/11/2022 01:38 PM
#2

Updated by Roel Standaert 11 months ago

  • Target version set to 4.6.2
#3

Updated by Roel Standaert 10 months ago

  • Status changed from New to Resolved
#4

Updated by Roel Standaert 10 months ago

  • % Done changed from 0 to 100
#5

Updated by Roel Standaert 9 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF