boris-petrov commented on issue #36: fix for VFS-662: SftpFileSystem has 
Thread-safe issue about idleChannel
URL: https://github.com/apache/commons-vfs/pull/36#issuecomment-487393002
 
 
   @garydgregory - I'm not familiar with the specific code here but the diff 
that I see here is totally safe - `idleChannel` is `volatile` and it's the only 
variable on which DCL is performed. This is safe since Java 1.5. Why do you 
think `session` also has to be?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to