I have a Java application that uses Jython 2.1 and we're now migrating it to use Jython 2.5.1.  However, when we try to compile our Java application with the jython.jar file from 2.5.1 in the classpth (instead of the one from Jython 2.1), some errors like the following when we attempt to use the __builtin__.compile() function to cache Python code in our Java application:

STAXUtil.java:235: cannot find symbol
symbol  : method compile(java.lang.String,java.lang.String,java.lang.String)
location: class org.python.core.__builtin__
            PyCode code = __builtin__.compile(parsedCode, "<string>", "exec");

This code compiled and ran fine using Jython 2.1.

Can someone explain why this is failing and suggust a fix this so that it can be compiled using the Jython 2.5.1 jar file.  Or, point me to documentation that describes what changed.
Thanks in advance!

Sharon Lucas
IBM Austin,   lucass@us.ibm.com
(512) 286-7313 or Tieline 363-7313