IBM Support

PK86458: SETTING VIRTUAL TO AN OPERATION DOES NOT SET VIRTUAL FOR DEFAULT DESTRUCTOR.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • GeneratedCodeInBrowser',
    this automatic update will be disabled.  Even if you append an
    operation and specify 'virtual' or 'abstract' for it, the source
    code of the default destructor will not be updated.
    
    Note that this automatic feature will work only for the
    destructor, which is created automatically.  If you create a
    destructor manually, you are also responsible to control
    virtual/abstract for the destructor.
    

Local fix

  • Once you set CG::CGGeneral::GeneratedCodeInBrowser, you will
    also have to maintain the destructor as if it were created
    manually.
    
    - If you want to make the destructor virtual, open the feature
      dialog box and tick [Virtual] checkbox in General tab.
    
    - If you want to make the destructor abstract, set the following
      property for the destructor:
          CPP_CG::Operation::Kind = abstract
    
    CG::CGGeneral::GeneratedCodeInBrowser can be set per Project
    level or Package level.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    JP Default Destructor for Abstract Class not Virtual
    

Problem conclusion

  • Fixed in 7.5.2.1
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK86458

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    740

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-05-13

  • Closed date

    2010-09-16

  • Last modified date

    2010-09-16

  • 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

  • R740 PSN

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.4","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
16 September 2010