Github user ajs6f commented on a diff in the pull request:
https://github.com/apache/jena/pull/151#discussion_r82505751
--- Diff:
jena-arq/src/main/java/org/apache/jena/sparql/engine/http/QueryEngineHTTP.java
---
@@ -135,8 +135,7 @@ private QueryEngineHTTP(String serviceURI, Query query,
String queryString, Http
this.query = query;
this.queryString = queryString;
this.service = serviceURI;
- // Copy the global context to freeze it.
- this.context = new Context(ARQ.getContext());
+ this.context = ARQ.getContext();
--- End diff --
Okay, so the principal is that an instance `QueryEngineHTTP` should not
change its behavior between construction and execution, even if the global
context changes around it? Cool. I will change my PR to leave the tests alone
and leave the context "frozen".
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---