On 08.06.2010 11:40, Rick McGuire wrote: > On Tue, Jun 8, 2010 at 5:27 AM, Rony G. Flatscher > <rony.flatsc...@wu-wien.ac.at> wrote: > >> The FindClass()-API does not find a public class in the current Rexx >> thread context, which however can be found by the Rexx code that gets >> executed in the same Rexx thread context (fetching a Rexx object from a >> cache in the native code and sending it a message from the native code). >> There is no routine or method context available (it originates from a >> Java callback), only the Rexx thread context (retrieved from a cache of >> Rexx interpreter instances in native code). >> >> Is there a way from native code to get at the context/package that the >> Rexx object uses when processing a message it gets via native code? >> > Rexx "objects" do not have a package context, only methods and > functions have a package context. Any given object might be composed > of methods with a mixture of package contexts. You will really need > to decide what context you are really attempting to resolve the class > from and use that package to make the request. > Any context (routine or method) would suffice, however, using the Rexx thread context (from the cached Rexx interpreter instance, using the AttachThread(&rtc) API) the members GetRoutine() or GetMethod() are not available.
---rony ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel