Unable to Save As a Function rule
Unable to Save As a Function rule.
The code for static initializer is exceeding 65535 bytes limit
Steps to Reproduce
Save As an existing function in a library which has many Rule Utility Functions (RUF).
In the user's environment, the library has multiple RUFs defined. Hence, the class generated for this library contains all these function definitions in static blocks whose size exceeded the 65535 byte limit, due to which the error occurred.
The library is a method to group related RUFs. Creating every RUF together in the same library is similar to a flat structure which results in Compilation errors. In general, the number of RUFs per library should always be reasonable.
Perform the following local-change:
Move some of the RUFs out of the original library to the new library.
0% found this useful