jython-pilot /

Filename Size Date modified Message
CPythonLib [70085]
2.7 KB
88 B
17 B
2.4 KB
371 B
2.7 KB
1.9 KB
6.2 KB
9.6 KB
63.9 KB
108 B
2.0 KB
48.0 KB
3.1 KB
Welcome to Jython 2.5.2 rc4

This is the fourth release candidate of the 2.5.2 version of Jython.
It contains the fixes of the blocker bugs since 2.5.2 rc3.
We still believe that this is the last release candidate before the final 2.5.2 release!

This release fixes bugs related to resource leaks, Java integration,
and a number of other issues. See the NEWS file for more details. In
particular, we did not completely fix #1327, "Classloaders cannot GC,
which exhausts permgen." Jython uses instances of ThreadLocal-managed
class, ThreadState, to manage its execution state, including frames,
exceptions, and the global namespace. The ThreadState also indirectly
refers to the ClassLoaders used by Jython. Such usage can cause
resource leaks when a Jython application is restarted under certain
app containers, because the ThreadState often may not cleaned up by
the app server's thread pool.

Fixing this problem without a backwards breaking API change appears
to be difficult. Therefore we recommend exploring workarounds, such as
the one published in this blog post,

Jython 2.6 will introduce limited backwards breaking API changes, so
it will be possible to fully resolve this bug, and related issues, in
that version instead.

And -- last but not least -- please help spread the word:

Organizations using Jython 2.2.1, or earlier, should test their code
against 2.5.2 beta 2 now so that bug fixes and/or workarounds may be
identified. In particular, please note the following:

  * No additional work is anticipated on Jython 2.2.

  * Jython 2.5.2 is the last release in Jython 2.5.x series that will
    address non-severe issues, including Java integration issues.

  * Jython 2.6 development will begin immediately following the 2.5.2
    release. Jython 2.6 will require the use of JDK 6.

The release was compiled on Mac OS X with JDK 5 and requires JDK 5 to
run. Please try it out and report any bugs at