IBM Support

PK75005: ?Fujitsu RSD Support? Incorrect sequence is generated for the sw itch statement without break

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Incorrect sequence is generated for the switch statement without
    break.
    If one of the case statement doesn't have the 'break' like below
    , the sequence diagram is not visualized properly.
    
     public void method1() {
      int i = 0;
      String s = '';
      switch (i) {
      case 0:
       s.length(); break;
      case 1:
       s.length(); break;
      case 2:
       s.length();
      }
     }
    
    The problem only happen if the last break was mission.
    

Local fix

Problem summary

  • Incorrect sequence is generated for the switch statement
    without break.
    

Problem conclusion

  • Fixed in release RSx 7.5.1.
    
    The case body has to be added to the bodies list.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK75005

  • Reported component name

    RATL SYS DEV

  • Reported component ID

    5724M1000

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-11-04

  • Closed date

    2008-12-12

  • Last modified date

    2009-02-17

  • 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

    RATL SYS DEV

  • Fixed component ID

    5724M1000

Applicable component levels

  • R700 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSJP3D","label":"Rational Systems Developer"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
23 October 2021