Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-15501

Fully initialize factory object (undertow)

    XMLWordPrintable

Details

    Description

      Assignment of lazy-initialized members should be the last step with double-checked locking:

      https://github.com/wildfly/wildfly/blob/25.0.0.Final/undertow/src/main/java/org/wildfly/extension/undertow/deployment/JspApplicationContextWrapper.java#L74

      Fix: Use temporary object to create object and assign as last step.

      Attachments

        Activity

          People

            xf01213 Boris Unckel
            xf01213 Boris Unckel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: