IBM Support

PI58244: PARENT NAME IS NOT ADDED TO THE NESTED GENERIC CLASS

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When you generate the instance of a generic package, you get
    
    package FLOAT_IO is new float_io(num => float);
    
    -- here the code is wrong, because the parent package name is
    missing.
    
    In this case, the we should add the parent name of the nested
    generic class. But Code Generator does not do it. This is a
    defect.
    
    WORKAROUND
    =========
    
    As a workaround, it is possible to add a use clause to text_io
    package, by creating a dependency from the FLOAT_IO class to the
    text_io class, set stereotype to "usage" and then set the
    CG::dependency::CreateUseStatement property to "use".
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Rhapsody users                                               *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * PARENT NAME IS NOT ADDED TO THE NESTED GENERIC CLASS         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Fixed in Rhapsody 8.2 - Parent name can be generated in Ada83 in
    this specific use case
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI58244

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    753

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-02-29

  • Closed date

    2016-12-05

  • Last modified date

    2016-12-05

  • 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

  • R814 PSN

       UP



Document information

More support for: Rational Rhapsody

Software version: 7.5.3

Reference #: PI58244

Modified date: 05 December 2016