Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-1359

Race condition in MVELDialectRuntimeData.getParserConfiguration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 5.5.0.Final, 6.5.0.Final
    • core engine
    • None

    Description

      MVELDialectRuntimeData attempts to hold a lazy loaded ParserConfiguration. The getParserConfiguration method sets this to a new configuration object and then sets the imports on the configuration. Between these two steps another thread could retrieve the stale configuration and use it. This could result in a number of exceptions in compilation.

      A simple fix is to delay assignment of new ParserConfiguration until after the imports are set.

      Attachments

        Activity

          People

            mfusco@redhat.com Mario Fusco
            chp-anujs Anuj Shah (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: