Subj : "Code of a method longer than 65535 bytes" To : netscape.public.mozilla.jseng From : Cameron McCormack Date : Wed Mar 31 2004 05:06 pm Hi everyone. I'm getting the message in the Subject line when trying to use some script in Batik[1]. From reading up a few old messages in here it seems that this message comes about because Rhino is trying to compile my script into a Java class but is reaching a JVM limit of 64KB for a method. The file I'm trying to load is here[2]. The file is actually only 55KB, so why is the compiled version greater than 64KB? Now there's nothing I can really remove from the file, as I need those big tables. Is there anything I can do to get this working? I thought I remembered seeing something about making Rhino just interpret files rather than try to compile them into Java, but I'd like to avoid putting this burden on the users of my code. Thanks, Cameron [1] http://xml.apache.org/batik/ [2] http://www.csse.monash.edu.au/~clm/local/xpath.js -- Cameron McCormack | Web: http://mcc.id.au/ | ICQ: 26955922 Replies by e-mail must include the current month name in subject line to bypass spam filter. .