pon., 25 sty 2021 o 19:52 Burton Rhodes <[email protected]> napisał(a):
> public class OpenSessionBackgroundProcess extends BackgroundProcess {
BackgroundProcess is marked as Serializable so container can
temporarily store it on disk
> private Object lock = new Object(); // used for synchronization
I would mark this as transient and add
private void readObject(ObjectInputStream inputStream) throws
IOException, ClassNotFoundException {
lock = new Object();
}
maybe it will help
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]