Hi Andreas, The problem is that our JavaScript engine (Rhino) tries to compile the JavaScript into Java Bytecodes, for very large functions this fails. Apparently if you turn off the 'optimizer' it can run arbitrarily large JavaScript functions but I'm not sure it's feasible to do this 'intelligently'. I'll try and look at where the exception occurs and see if there is an easy way to 'retry' but I suspect this will be difficult.
Andreas Neumann <[EMAIL PROTECTED]> wrote on 02/02/2006 10:08:30 AM: > One of the ECMAScripts is dynamically generated using a PHP script. When > I include that script (URL: > http://www.geofoto.ch/prototype/unstable/extractAdminUnits.php) I get > the following error message: > > --------------- > InterpExcept: org.apache.batik.script.InterpreterException: > java.lang.ClassFormatError: Invalid method Code length 197395 in class > file org/mozilla/javascript/gen/c655 > --------------- > > Is there an encoding problem or a mime-type problem that this ECMAScript > can't be interpreted? It works in Mozilla SVG and Adobe SVG. > > Thank you for any help on that issue. > > Andreas > > PS: I tested with the latest SVN version on Linux > > -- > ---------------------------------------------- > Andreas Neumann - Institute of Cartography > Swiss Federal Institute of Technology (ETH) > ETH Hoenggerberg > CH-8093 Zurich, Switzerland > Phone: ++41-1-633 3031, Fax: ++41-1-633 1153 > e-mail: [EMAIL PROTECTED] > www: http://www.carto.net/neumann/ > SVG.Open: http://www.svgopen.org/ > Carto.net: http://www.carto.net/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
