On Thu, Jul 03, 2003 at 02:57:55PM +0200, Igor Bukanov wrote:
> >     [javac] 
> > /home/rubys/jakarta/jakarta-bsf/src/org/apache/bsf/engines/javascript/JavaScriptEngine.java:194:
> >  cannot resolve symbol
> >     [javac] symbol  : method unwrap ()
> >     [javac] location: class org.mozilla.javascript.WrappedException
> >     [javac]             t = (Throwable) ((WrappedException) t).unwrap();
> >     [javac]                             ^
> >     [javac] 1 error
> > 
> > BUILD FAILED
> > /home/rubys/jakarta/jakarta-bsf/build.xml:248: Compile failed; see the compiler 
> > error output for details.
> 
> That code should be
> t = ((WrappedException) t).getWrappedException();
> and not
> t = (Throwable) ((WrappedException) t).unwrap();
> 
> But I will update Rhino with a deprecated version of the unwrap method 
> which was removed since WrappedException does not implement the Wrapper 
> interface any longer for implementation reasons.
> 

Igor,

Thanks for the clarification.

How long do you expect that the deprecated API will be present? I
ask because we would like to maintain compatibility with older
versions of Rhino (at least 1.5 R3) without hacks (if possible).

If this is not a tenable position to maintain (from the
perspective of Rhino), then I'll commit the one-liner immediately.

Thanks,
Victor
-- 
Victor J. Orlikowski  | The Wall is Down, But the Threat Remains!
=================================================================
[EMAIL PROTECTED] | [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to