insaf021 opened a new pull request, #343:
URL: https://github.com/apache/commons-math/pull/343
BaseRuleFactory.getRule reads and writes the pointsAndWeightsDouble TreeMap
outside the lock that guards getRuleInternal, and factories are shared
(IterativeLegendreGaussIntegrator holds a static GaussIntegratorFactory), so
concurrent requests for different point counts corrupt the map; the new test,
wrapped in assertTimeoutPreemptively as suggested on #340, fails on master with
TreeMap NPEs ("Cannot read field \"right\" because \"l\" is null") or a 30s
timeout from a lookup spinning in TreeMap.getEntry, and passes once getRule is
synchronized.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]