]
Stuart Douglas commented on WFCORE-1049:
----------------------------------------
Also I'm not sure why you can't just use a sync block to make sure that the
underlying object is fully initialized before it is published?
ConcreteResourceRegistration#registerSubModel is not thread safe
----------------------------------------------------------------
Key: WFCORE-1049
URL:
https://issues.jboss.org/browse/WFCORE-1049
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Reporter: Stuart Douglas
Assignee: Brian Stansberry
Fix For: 3.0.0.Alpha1
registerSubModel checks for existing, then registers, however it is invoked by two
threads at the same time it is possible they will both see the resource as not existing
and both register.