EGL Development User Group

EGL Development User Group

EGL Development User Group

The EGL Development User Group is dedicated to sharing news, knowledge, and insights regarding the EGL language and Business Developer product. Consisting of IBMers, HCL, and users, this community collaborates to advance the EGL ecosystem.

 View Only
Expand all | Collapse all

exceeding the 65535 bytes limit

  • 1.  exceeding the 65535 bytes limit

    Posted Tue October 04, 2016 06:46 AM

    Hi Folks,

    I'm generating Java and i got an error "exceeding the 65535 bytes limit" to form text.

    public WX71G$WX71M05( final com.ibm.javart.resources.Program ezeProgram, String ezeName ) throws com.ibm.javart.JavartException

    The code of constructor WX71G$WX71M05(Program, String) is exceeding the 65535 bytes limit

    does anyone know why this error and how to fix?

     

    Thanks for advanced.

     

    Hsieh


  • 2.  Re: exceeding the 65535 bytes limit

    Posted Tue October 04, 2016 10:01 AM

    Hi,

     

    Wikipedia:

    • A Java class or interface can have at most 65535 methods. The code of a constructor in Java is limited to 65535 bytes.

     

     

    How big is the constructor ?

     

     

    Kind Regards!

    Marcel-D


  • 3.  Re: exceeding the 65535 bytes limit

    Posted Wed October 05, 2016 11:57 AM

    Hi Marcel,

     

    It's too big !! (laugth)  My customer need broken the application.

    Thanks for reply.

     

    Hsieh