Andy Seaborne created JENA-1866:
-----------------------------------
Summary: SPARQLQueryProcessor: Need volatile to make method
thread-safe
Key: JENA-1866
URL: https://issues.apache.org/jira/browse/JENA-1866
Project: Apache Jena
Issue Type: Task
Components: Fuseki
Affects Versions: Jena 3.14.0
Reporter: Andy Seaborne
Assignee: Andy Seaborne
Fix For: Jena 3.15.0
This ticket tracks https://github.com/apache/jena/pull/709 ("intrigus-lgtm" on
GitHub).
There needs to be a "happens before" barrier so that any Set and the objects it
contains created by {{generateAcceptedParams()}} is completed and available to
other threads.
Making {{acceptedParams_}} volatile achieves this.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)