Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
All
Description
There are some cases where a DOM node is accessed without synchronization, for example,
public class Node2JAXB extends BaseTransformer<Node, Object> implements PullTransformer<Node, Object> {
private JAXBContextHelper contextHelper;
public Node2JAXB(ExtensionPointRegistry registry)
{ contextHelper = JAXBContextHelper.getInstance(registry); } public Object transform(Node source, TransformationContext context) {
if (source == null)
return null;
try
catch (Exception e)
{ throw new TransformationException(e); }}
This is exacerbated in the properties case because the property factories don't cache the results of this transformation.