[
https://issues.apache.org/jira/browse/JENA-1953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy Seaborne resolved JENA-1953.
---------------------------------
Fix Version/s: Jena 3.17.0
Assignee: Andy Seaborne
Resolution: Fixed
> EnvJavaScript is supposed to be a singleton. However EnvJavaScript.get may
> return multiple instances
> ----------------------------------------------------------------------------------------------------
>
> Key: JENA-1953
> URL: https://issues.apache.org/jira/browse/JENA-1953
> Project: Apache Jena
> Issue Type: Bug
> Components: ARQ
> Reporter: Pavel Mikhailovskii
> Assignee: Andy Seaborne
> Priority: Minor
> Fix For: Jena 3.17.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> EnvJavaScript is supposed to be a lazily-initialized singleton but the
> implementation is broken. It uses a non-volatile static field which is not
> lock-guarded when read. As a result , EnvJavaScript.get may instantiate
> multiple instances.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)