IBM Support

PK78227: JAVA COMPILATION ERROR WITH CODE GENERATED FROM EGL BIRT HANDLER S WITH NAME CONTAINING _

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment:
    
     - OS (name, language, version or SP): Microsoft Windows XP SP2
     - Product name (Build ID or version/patch level): IBM Rational
    Business Developer v7102
    Reproducible Y/N: Y
    
    Description of problem:
    
    
    When creating a BIRT handler named with underscores, a
    compilation error in the generated Java code:
    My_BirtReportHandler cannot be resolved to a type
    37474EGLBirt/JavaSource/test My_005fBirtReportHandler.java
    line 41
    
    It works fine with MyBirtReportHandler.
    
    Steps to reproduce:
    
    1) Create an EGL project with a BIRT Handler like:
    package test;
    
    // BIRT Report Handler
    handler My_BirtReportHandler type BirtHandler
    
     // Event Handler Function Declarations
     function onLabel( l LabelInstance, c ReportContext ) {
    eventType = onCreate, elementName = 'label1' }
      SysLib.writeStdout('onLabel');
     end
    
    end
    
    2) Generate the Java code: the error is raised on the Problems
    view
    
    Workaround:
    Remove the underscore from the Handler name.
    

Local fix

Problem summary

  • We need to change "_" to "_005f".
    

Problem conclusion

  • Missing conversion from "_" to "_005f"
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK78227

  • Reported component name

    RATL BUS DEV

  • Reported component ID

    5724S5000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-01-07

  • Closed date

    2009-03-20

  • Last modified date

    2009-03-20

  • 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 BUS DEV

  • Fixed component ID

    5724S5000

Applicable component levels

  • R710 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
20 March 2009