Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-254

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Labels:
      None

      Description

      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().

        Attachments

          Activity

            People

            • Assignee:
              luc Luc Maisonobe
              Reporter:
              sebb Sebb
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: