@@ -58,11 +58,11 @@ public ObjectStreamClass getDesc() { return desc; } - private void checkAndSetUsed() throws NotActiveException { + public void checkAndSetUsed() throws NotActiveException { if (thread != Thread.currentThread()) { throw new NotActiveException( "not in readObject invocation or fields already read"); } thread = null;