Hi,
since the migration of the cvs server, Gump nag mails no longer reach this list - I guess they are sitting in the moderation queue (if you need a backup moderator, let me know, I'm can easily handle a few extra spam messages 8-).
Since about a week a change in Rhino is causing problems, see <http://cvs.apache.org/builds/gump/2003-09-06/jakarta-bsf.html>. Looks as if the String-arg constructor has been removed.
I have no idea whether it has been deprecated already and whether a suitable replacement exists.
Here is the error output:
[javac] /home/rubys/jakarta/jakarta-bsf/src/org/apache/bsf/engines/javascript/JavaScriptEngine.java:119: cannot resolve symbol
[javac] symbol : constructor JavaScriptException (java.lang.String) [javac] location: class org.mozilla.javascript.JavaScriptException [javac] throw new JavaScriptException("function " + method + " not found.");
In Rhino JavaScriptException is intended to represent exceptions thrown explicitly by JS throw statement. To indicate runtime errors in Java code related to JS implementation EvaluatorException should be used and the update code will look:
throw new EvaluatorException("function " + method + " not found.");
This form of EvaluatorException was present in Rhino since the first public release.
For compatibility the old form of JavaScriptException(Object) will be restored but it would be nice if BSF would be updated to use the proper exception class.
Regards, Igor
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
