You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Luc Maisonobe (JIRA)" <ji...@apache.org> on 2009/04/05 17:20:12 UTC
[jira] Resolved: (MATH-254) UnivariateRealSolverUtils.factory is a
mutable static field which is not initialised safely.
[ 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.