Skip to content
Permalink
Browse files
[JENKINS-19561] Edited comment.
  • Loading branch information
jglick committed May 1, 2014
1 parent cbb6a8a commit 1568a8bc24a3bc93e815a4b88bab6d46806e8842
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/main/java/hudson/util/XStream2.java
@@ -183,7 +183,7 @@ else if (type != null && ImmutableList.class.isAssignableFrom(type))
}
});
AnnotationMapper a = new AnnotationMapper(m, getConverterRegistry(), getConverterLookup(), getClassLoader(), getReflectionProvider(), getJvm());
// TODO acc. to XSTR-744 this means that an XStream2 instance is not thread-safe and we would need a pool:
// TODO JENKINS-19561 this is unsafe:
a.autodetectAnnotations(true);

mapperInjectionPoint = new MapperInjectionPoint(a);

0 comments on commit 1568a8b

Please sign in to comment.