IBM Support

PM34018: SpecificationProlog property in Rhp 753

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • SpecificationProlog property to add the public ref in front of
    the class. Now in 7.5.2 this no longer works because the class
    description is now placed in between the SpecificationProlog and
    the class declaration. So the code will look like as follows:
    
    //#[ ignore
    public ref
    
    //#]
    
    
    class Foo {
    //// Constructors and destructors ////
    
    public :
    
    //## auto_generated
    Foo();
    
    //## auto_generated
    ~Foo();
    };
    
    
    Business impact ( BusImpact )
    Class declarations no longer work.
    
    
    Additional Information:
    Confirmed with the Dev team (Amit) that this is a Defect.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Change in behavior of property
    CPP_CG::Class::SpecificationProlog in version 7.5.3 results
    in incorrect class declarations.
    

Problem conclusion

  • To prevent the generation of a line break between the prolog
    text and the class declaration, add the property
    CPP_CG::Class::AddNewLineAfterProlog to your site.prp file
    with a value of False.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM34018

  • 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-03-02

  • Closed date

    2011-04-10

  • Last modified date

    2011-04-10

  • 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"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.3","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
10 April 2011