Gilles Sadowski created MATH-1694:
-------------------------------------
Summary: Synchronization bug in "PolynomialsUtils"
Key: MATH-1694
URL: https://issues.apache.org/jira/browse/MATH-1694
Project: Commons Math
Issue Type: Bug
Components: legacy
Affects Versions: 4.0-beta1
Reporter: Gilles Sadowski
Fix For: 4.0-beta2
Description adapted from
[PR#340|https://github.com/apache/commons-math/pull/340]
{{BaseRuleFactory.getRule}} reads and updates {{pointsAndWeightsDouble}}
without holding the lock used by {{getRuleInternal}}.
Factory instances are shared ({{IterativeLegendreGaussIntegrator}} keeps a
_static_ {{GaussIntegratorFactory}}), so concurrent requests for different
rules can corrupt the map.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)