commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luc Maisonobe (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (MATH-254) UnivariateRealSolverUtils.factory is a mutable static field which is not initialised safely.
Date Sun, 05 Apr 2009 15:20:12 GMT

     [ https://issues.apache.org/jira/browse/MATH-254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Luc Maisonobe resolved MATH-254.
--------------------------------

    Resolution: Fixed
      Assignee: Luc Maisonobe

fixed in subversion repository as of r762102
thanks for the report and the suggestion. IODH is a pattern I really appreciate, it is neat
and elegant.

> 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
>            Assignee: Luc Maisonobe
>             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