Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-5685

PDataTypeFactory Singleton is not thread safe

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 5.0.0, 4.15.0
    • 5.2.1
    • None
    • None

    Description

      The singleton class uses lazy initialization of the INSTANCE variable, however, the PDataTypeFactory#getInstance method is not synchronized to be thread-safe. Good to make use of double-checked locking. 

      Attachments

        Activity

          People

            jingyu Jing Yu
            skadam Swaroopa Kadam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: