Fixes are available
APAR status
Closed as program error.
Error description
Scenario: ------------------------------- | ??Interface?? | | IF | | read(a: int) : void | ------------------------------- ^ | | | ------------------------------- | ??Singleton?? | | Singular | | read(a: int) : void | ------------------------------- Problem: In this case there is a cast from void (*)(int a) to void (*)(void * const void_me, int a). In such case parameter void_me is interpreted as a, which is a serious problem such as runtime crash. It appears that Rhapsody generates wrong code in the situation, where ??Singleton?? inherits from ??Interface??.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** In Rhapsody in C, if a ??Singleton?? class inherits from an ??Interface?? class, the code is generated incorrectly.
Problem conclusion
Fixed in version 8.0
Temporary fix
Comments
APAR Information
APAR number
PM43103
Reported component name
TLOGIC RHAPSODY
Reported component ID
5724V74RP
Reported release
753
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-07-06
Closed date
2012-09-26
Last modified date
2012-09-26
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
TLOGIC RHAPSODY
Fixed component ID
5724V74RP
Applicable component levels
R753 PSN
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.3","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Document Information
Modified date:
27 October 2021