afs opened a new pull request, #2320:
URL: https://github.com/apache/jena/pull/2320
GitHub issue resolved #2318
Pull request Description:
There isn't a direct test of the presented problem; its asynchronous and
timing dependent.
`shutdown` with no contract so there is no contract of specific behaviour or
consequences on active transactions. It is an operation that is _caveat emptor_.
This PR makes a NullPointerException become a TransactionException.
There is test coverage for the new and better way to get the coordinator
lock for synchronous use.
----
- [x] Tests are included.
- [x] Commits have been squashed to remove intermediate development commit
messages.
- [x] Key commit messages start with the issue number (GH-xxxx, or if in
JIRA, JENA-xxxx)
By submitting this pull request, I acknowledge that I am making a
contribution to the Apache Software Foundation under the terms and conditions
of the [Contributor's
Agreement](https://www.apache.org/licenses/contributor-agreements.html).
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]