Github user aledsage commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/593#discussion_r105950198
--- Diff:
core/src/main/java/org/apache/brooklyn/util/core/xstream/XmlSerializer.java ---
@@ -80,6 +80,11 @@ protected MapperWrapper wrapMapper(MapperWrapper next) {
xstream.registerConverter(new EnumCaseForgivingConverter());
xstream.registerConverter(new Inet4AddressConverter());
+
+ // See ObjectWithDefaultStringImplConverter (and its usage) for
why we want to auto-detect
+ // annotations (usages of this is in the camp project, so we can't
just list it statically
+ // here unfortunately).
+ xstream.autodetectAnnotations(true);
--- End diff --
What are the performance implications of this?!
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---