cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Bukanov>
Subject Re: Rhino from and continuations
Date Fri, 24 Sep 2004 23:16:10 GMT
Igor Bukanov wrote:
> Ugo Cei wrote:
>> Igor Bukanov wrote:
>>> contains a working 
>>> patch against Rhino CVS from to enable Continuation 
>>> support there.
>> What am I supposed to do if I want to play with it?
> ...
>> 2) Do a cvs checkout and build since your patch is already applied?
> Use this option.
> Regards, Igor

The attached patch against cocoon- simplifies "playing": it 
changes Rhino bindings to use "org.mozilla.javascript.Function" instead 
of "org.mozilla.javascript.continuations.Continuation" to refer to 
script Continuation objects.

In Rhino from Continuation class is package-private and 
implemented in a very different way compared with Rhino from On the other hand the class in both versions implements 
Function interface and since the bindings in Cocoon use only 
functionality available through this interface the patch minimize the 
amount of code that has to be modified to use Rhino from

Regards, Igor

View raw message