jakarta-bsf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Victor J. Orlikowski" <victor.j.orlikow...@alumni.duke.edu>
Subject Re: [GUMP] Build Failure - jakarta-bsf
Date Thu, 03 Jul 2003 15:09:08 GMT
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!
=================================================================
orlikowski@apache.org | victor.j.orlikowski@alumni.duke.edu

Mime
View raw message