Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
issue#293 : Ensure consistent behaviour of AbstractCloseableIteration…
….handleClose This includes various changes related to try-finally while also including changes related to volatile variable dereferencing to ensure that we ourselves are null-safe inside of handleClose without synchronisation. It also specifically fixes #293 by ensuring that NPE's generated by InputStream.close do not propagate, with the appropriate null guards to ensure we ourselves cannot be generating the NPE. Ie, we give up trying to fix Apache HTTPClient weakness locally, as HTTPClient has non-null safe programming due to dereferencing instance variables after null guards rather than before the null guard. Signed-off-by: Peter Ansell <p_ansell@yahoo.com>
- Loading branch information
Showing
73 changed files
with
2,291 additions
and
942 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.