commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Created: (MATH-254) UnivariateRealSolverUtils.factory is a mutable static field which is not initialised safely.
Date Sat, 04 Apr 2009 21:25:12 GMT
UnivariateRealSolverUtils.factory is a mutable static field which is not initialised safely.
--------------------------------------------------------------------------------------------

                 Key: MATH-254
                 URL: https://issues.apache.org/jira/browse/MATH-254
             Project: Commons Math
          Issue Type: Bug
            Reporter: Sebb
             Fix For: 2.0


UnivariateRealSolverUtils.factory is a mutable static field which is not initialised safely.

Suggest using IODH (init on demand holder) idiom for this, else use synchronized getInstance().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message