[jboss-jira] [JBoss JIRA] (DROOLS-1359) Race condition in MVELDialectRuntimeData.getParserConfiguration
Anuj Shah (JIRA)
issues at jboss.org
Tue Nov 15 08:50:00 EST 2016
Anuj Shah created DROOLS-1359:
---------------------------------
Summary: Race condition in MVELDialectRuntimeData.getParserConfiguration
Key: DROOLS-1359
URL: https://issues.jboss.org/browse/DROOLS-1359
Project: Drools
Issue Type: Bug
Components: core engine
Affects Versions: 6.5.0.Final, 5.5.0.Final
Reporter: Anuj Shah
Assignee: Mario Fusco
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.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list