[copy] Copying 1 file to /home/rubys/jakarta/jakarta-bsf/build/classes [javac] Compiling 51 source files to /home/rubys/jakarta/jakarta-bsf/build/classes [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.
Regards, Igor
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
