cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: [Vote] Use latest rhino in 2.1.x
Date Thu, 16 Nov 2006 12:38:05 GMT
Leszek Gawron wrote:
> Carsten Ziegeler wrote:
>   
>> Ok, it seems we should vote on this topic. As you all know,
>> including the version of rhino in 2.1.x has legal problems
>> and we have to do something about it.
>>
>> Fortunately, the latest version of Rhino is licenced under an acceptable
>> term, so we could include that version in 2.1.x. Unfortunately this
>> creates minor incompatibilites and might infect people using specific
>> functions in flowscript. On the other hand, if we insist on using the
>>     
>
> which are?
>   

The special exception constructs to catch continuation suspend and
restore, that can be used to cleanup or restore non-suspendable resources.

try {
  // code...
} catch(break) {
  // continuation suspended
} catch(continue) {
  // continuation restored
}

Sylvain

-- 
Sylvain Wallez - http://bluxte.net


Mime
View raw message