From 48df625a445c6e167d98fab683e9f7600a67c08b Mon Sep 17 00:00:00 2001 From: mindless Date: Tue, 2 Mar 2010 18:55:42 +0000 Subject: [PATCH] [FIXED HUDSON-5769] Update to XStream 1.3.1-hudson-6 where I added protected Converter createDefaultConverter(). This allows a subclass to override the default converter (was hardcoded to ReflectionConverter) which is also given to the constructor of a few other converters, most notably ThrowableConverter. Override this method in XStream2 to provide a RobustReflectionConverter so missing fields in classes extending Throwable are handled properly. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28141 71c3de6d-444a-0410-be80-ed276b4c234a --- core/pom.xml | 5 +-- core/src/main/java/hudson/util/XStream2.java | 13 +++++--- .../test/java/hudson/util/XStream2Test.java | 33 ++++++++++++++++++- 3 files changed, 43 insertions(+), 8 deletions(-) diff --git a/core/pom.xml b/core/pom.xml index f39ad06d98..14c82a044c 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -1,7 +1,8 @@