Hi!

Antoine Levy-Lambert has posted a message at
netscape.public.mozilla.jseng newsgroup about an incompatible change in
Rhino CVS tip that caused Batik to fail during compilation. 

First, thanks for the error report, the changes in Rhino were supposed to
be backward-compatible and I will fix Rhino ASAP. 

But I also looked at BatikSecurityController which implements
org.mozilla.javascript.SecurityController and that raised the second
issue. 

BatikSecurityController does not have a proper implementation of
SecurityController.execWithDomain (or SecurityController.callWithDomain
which was introduced in Rhino CVS) method which allows trivially for
scripts from external URLs to be executed with permissions of local Batik
classes. For proper implementation of the interface please refer to 
http://lxr.mozilla.org/mozilla/source/js/rhino/toolsrc/org/mozilla/javascript/tools/shell/JavaPolicySecurity.java
 
that contains a proper implementation of the interface.

I will try to create a version of it for Batik but it may take a week or
so. Is it ok?

Regards, Igor

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

Reply via email to