Details
-
Type: Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.1.1
-
Component/s: None
-
Labels:None
Description
public class Outer {
private String message;
public Inner inner = new Inner();
public Outer(String message)
{ this.message = message; } public class Inner {
public void doStuff()
}
}
Outer outer = new Outer("hello");
Inner inner = outer.inner();
inner.doStuff(); // prints "hello"
// serialize and deserialize
Inner inner2 = xstream.fromXml(xstream.toXml(inner));
inner.doStuff(); // prints null