[
https://issues.apache.org/jira/browse/JENA-1866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy Seaborne resolved JENA-1866.
---------------------------------
Resolution: Fixed
> 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
> Priority: Major
> Fix For: Jena 3.15.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)