Question
Why do you think the instance variable "state" in SQLServerConnection don't need to be volatile.
The Method abort(Executor) implements java.sql.Connection.abort(Executor)
I think that the javadoc means the other thread should see the change (closed Connection).
But yes the javadoc from java.sql.Connection.abort(Executor) is not really explicit.
Question
Why do you think the instance variable "state" in SQLServerConnection don't need to be volatile.
The Method abort(Executor) implements java.sql.Connection.abort(Executor)
I think that the javadoc means the other thread should see the change (closed Connection).
But yes the javadoc from java.sql.Connection.abort(Executor) is not really explicit.