MaxKellermann edited a comment on pull request #166:
URL: https://github.com/apache/commons-vfs/pull/166#issuecomment-796834461


   > I fixed this by just synchronizing all calls to `getFileContentThreadData`.
   
   Be careful with that! Existing code took care *not* to run certain function 
calls in a `synchronized` block:
   
https://github.com/apache/commons-vfs/blob/a19631a852cdef62533566c158788f1bd221fa50/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/DefaultFileContent.java#L91-L99
   But now all callers of that method are `synchronized`, nullifying that 
effort.


----------------------------------------------------------------
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:
[email protected]


Reply via email to