DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=31649>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31649 [Patch] Flowscript: Switch to re-implementation of official Rhino ------- Additional Comments From [EMAIL PROTECTED] 2004-10-22 08:27 ------- Reinhard Poetz wrote: > Could you give me a hint, how I can switch off InvokerImpl usage by API? > IMO this is the only safe way because if others build Rhino the chance > is high that the removal will be forgotten. With Rhino from mozilla.org the following patch should disable the invoker optimization. With Rhino from cocoondev.org the only way to disable it is to either remove org.mozilla.javascript.optimizer.InvokerImpl.class from the jar or remove src/org/mozilla/javascript/optimizer/InvokerImpl.java from the repository. If you can reliably see that the optimization is only slow thinks down on JDK 1.4 or later, I will disable it by default in Rhino: Cocoon usage is a good test for this. > Finally a last question: I always use "ant jar" to build Rhino. Is this the > right build target or do we have to use another one, which might strip down > Rhino to a minimum for our needs? With Rhino from mozilla.org there is "smalljar" ant target that generates minimalistic jar. But that can not be used with Cocoon as it uses a few classes that smalljar does not include. And in any case if you distribute Rhino classes, please use the full version!
