IBM Support

PM09587: Java Enums generation and roundtrip - constructor changes to mes sage

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Generating a Java Enum Class implies unwanted modifications in t
    he rhapsody project. Using Rhapsody 7.2MR1 Java version associat
    ed with Eclipse 3.3, create a Java Enum Class in rhapsody projec
    t. Must define a private constructor with its arguments and its
    implementation to get a compilable code after code generation. W
    hen clicking on 'generate selected class' in the top level menu
    or on 'generate' in the contextual menu, rhapsody generates the
    specified file, but instantanely start roundtripping it. During
    that roundtrip, rhapsody decides to transform private constructo
    r to a method in the rhaposdy project and add that new method to
     the project. Then, it deletes the constructor and regenerates a
    utomatically the new corresponding file, which can't be compile
    anymore. Each time one tries to recreate original constructor, r
    hapsody does the same thing. Even if one tries to modify rhapsod
    y tags in Eclipse's editor or in Rhapsody's editor, no better re
    sult.
    

Local fix

Problem summary

  • Java Enums generation and roundtrip - constructor changes to
    message
    

Problem conclusion

  • Fixed in 7.5.2
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM09587

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-03-10

  • Closed date

    2010-06-21

  • Last modified date

    2010-06-21

  • 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

  • R751 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.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
21 June 2010