src/share/classes/java/io/SerialCallbackContext.java
Print this page
*** 58,68 ****
public ObjectStreamClass getDesc() {
return desc;
}
! private void checkAndSetUsed() throws NotActiveException {
if (thread != Thread.currentThread()) {
throw new NotActiveException(
"not in readObject invocation or fields already read");
}
thread = null;
--- 58,68 ----
public ObjectStreamClass getDesc() {
return desc;
}
! public void checkAndSetUsed() throws NotActiveException {
if (thread != Thread.currentThread()) {
throw new NotActiveException(
"not in readObject invocation or fields already read");
}
thread = null;