[progress Communities] [progress Openedge Abl] Forum Post: Re: Calling A Method In A Class...

  • Thread starter Thread starter Evan Bleicher
  • Start date Start date
Status
Not open for further replies.
E

Evan Bleicher

Guest
This Community post has discussed several aspects of your issue and has identified an object-oriented approach for resolving it. However, to your question as to whether the ABL supports the use of source-procedure for classes the answer is, no it does not. During the initial design of the object-oriented extensions to the ABL, the development team discussed whether the invocation syntax should work for both the procedural ABL and the object-oriented ABL. This approach was rejected. It was for that reason that an ABL application RUNs an external procedure and NEWs a class and invokes an internal procedure via the “RUN IN” syntax and invokes a method via object-reference: method () syntax. The intent was to allow both coding models to work seamlessly together but with different syntax. Your approach of using SOURCE-PROCEDURE to get access to the procedure handle underlying our implementation of an object instance took advantage of a bug in our implementation. It was never our intent to support for such a facility. The regression you observed was caused by a performance related change we made in 11.7.0. The OpenEdge development team needs to investigate this issue to close this loop hole in the invocation logic ensuring that an application cannot invoke a method using procedural constructs.

Continue reading...
 
Status
Not open for further replies.
Back
Top