IBM Support

PM32068: EGL0051E error from Java runtime with 'delegates' and 'in' modifier

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment: Windows
    
    Product name: IBM? Rational? Business Developer
    
    Program Version    :  8.0.1
    Description.
    The generated Java code from an EGL project including the usage
    of 'delegates' used in conjunction with the 'in' modifier as a
    part of a method signature throws an EGL exception at runtime.
    Example function:
        function executeInvokerThatFails(aServiceInvoker
    ServiceInvoker in)
            Syslib.writeStdout('We are in the invoker...');
            aServiceInvoker();
        end
    
    When running the associated Java generated from the above
    function the following exception is thrown:
    EGL0051E The = operator is not supported for the result and
    public void ......RunThis.$func_mycallback() throws
    java.lang.Exception operands.EGL0002I The error occurred in
    RunThis processing the main function.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If a function's parameter is a delegate and it has the IN
    modifier, generated Java code will not compile when a
    function is passed as an argument for the delegate.
    

Problem conclusion

  • The problem has been fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM32068

  • Reported component name

    RATL BUS DEV

  • Reported component ID

    5724S5000

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-02-07

  • Closed date

    2011-03-31

  • Last modified date

    2011-03-31

  • 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

  • R801 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":"8.0.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
31 March 2011