Subj : Re: limitation of Rhino evaluator To : =?ISO-8859-2?Q?Krokovay_K=E1roly?= From : Igor Bukanov Date : Thu Nov 04 2004 07:01 pm Krokovay Károly wrote: > Hi, > I generated a very long java script string and I wanted to evaluate but I > got the following exception. I think the Rhino engine generated a java > class > from my parsed javascript and put it everything in one method and if was > to > large (more than 65535 bytes). > Is it a strict limit of the Rhino or can it be avoid? You can avoid that by using pure interpreter mode, just call cx.setOptimizationLevel(-1) before you compile/evaluate scripts. Regards, Igor .