The static field com.microsoft.sqlserver.jdbc.SQLServerClobBase#logger is mutable and set by every constructor invocation. It is only used in com.microsoft.sqlserver.jdbc.SQLServerClobBase#free(). As a result with logger is used there is pretty much random. My recommendation would be to make it static final.