Details
-
Type: Improvement
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
It would be excellent if there were a way to force XStream to use pure reflection, regardless of the JVM. I'm developing an application for multiple JVMs, but I'd like XStream to behave the same irrespective of which JVM is being used.
One possibility is to define a system property that could be used to override the default behavior.
You can do this already:
XStream xstream = new XStream(new PureJavaReflectionProviver());
-joe