IBM Support

PI45434: RHAPSODY DFT : FRIEND DEPENDENCY TO INNERCLASS IS LOST AFTER RE & FCG

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • Customer has below code.
    ==========================
    class O {
    private :
    
        class I {
        private :
    
            inline void setI(int i) {
            }
        };
    
        friend class I;
    
        inline void setO(int i) {
        }
    };
    ==========================
    
    After RE, OuterClass O and InnerClass I are imported into
    Rhapsody model smoothly.
    At this stage, we can see that friend dependency still exists in
    souce code, but does not exist in model (including
    SourceArchitecture).
    Then do Force Code Generation. an roundtrip confirmation message
    appears.
    If we select no, Friend statement also lost in generated code.
    
    For detail, please watch the attached video.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Rhapsody 8.1.2                                               *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Rhapsody RE don't model friend dependency from class to his  *
    * nested class                                                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Fixed in 8.1.4
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI45434

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    811

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-07-22

  • Closed date

    2015-12-16

  • Last modified date

    2015-12-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

  • R812 PSY

       UP



Document information

More support for: Rational Rhapsody

Software version: 8.1.1

Reference #: PI45434

Modified date: 16 December 2015