On May 12, 2013, at 6:33 PM, J. Alejandro Zepeda Cortés wrote:Actually it's probably a bad idea to make Thread serializable.
> Hi, two little changes because of the internal class:
> Unable to create the checkpoint file /home/alejandro/p/checkpoints/ecj.NGCP.10.gzbecause of an IOException:
> java.io.NotSerializableException: ec.util.ThreadPool$PoolThread
> public class ThreadPool implements java.io.Serializable
> class PoolThread extends Thread implements java.io.Serializable
Instead the right thing is to not checkpoint out the PoolThreads. That's most easily done by making the linked list transient. I've done a recommit -- tell me if it works for you.