From: <zy...@us...> - 2008-07-14 15:19:03
|
Revision: 4928 http://jython.svn.sourceforge.net/jython/?rev=4928&view=rev Author: zyasoft Date: 2008-07-14 08:19:01 -0700 (Mon, 14 Jul 2008) Log Message: ----------- ReferenceQueue objs, by their nature, only make sense if transient. So make them so, this enables interoperation with Terracotta. Modified Paths: -------------- branches/asm/src/org/python/core/AutoInternalTables.java branches/asm/src/org/python/core/IdImpl.java Modified: branches/asm/src/org/python/core/AutoInternalTables.java =================================================================== --- branches/asm/src/org/python/core/AutoInternalTables.java 2008-07-14 13:32:52 UTC (rev 4927) +++ branches/asm/src/org/python/core/AutoInternalTables.java 2008-07-14 15:19:01 UTC (rev 4928) @@ -8,7 +8,7 @@ public abstract class AutoInternalTables extends InternalTables { - protected ReferenceQueue queue = new ReferenceQueue(); + protected transient ReferenceQueue queue = new ReferenceQueue(); protected abstract Reference newAutoRef(short type, Object key, Object obj); Modified: branches/asm/src/org/python/core/IdImpl.java =================================================================== --- branches/asm/src/org/python/core/IdImpl.java 2008-07-14 13:32:52 UTC (rev 4927) +++ branches/asm/src/org/python/core/IdImpl.java 2008-07-14 15:19:01 UTC (rev 4928) @@ -8,7 +8,7 @@ public static class WeakIdentityMap { - private ReferenceQueue refqueue = new ReferenceQueue(); + private transient ReferenceQueue refqueue = new ReferenceQueue(); private HashMap hashmap = new HashMap(); private void cleanup() { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |