Resolution: Not A Bug
Affects Version/s: 1.3.1
Fix Version/s: None
JDK version and platform:JDK 1.6 for Windows
I'm using XStream 1.3.1.
I want to omitField named "listener" which is a list of some template from an object type B extends A.
In the A class declaration:
- My code :
omitField(List.class,"listener"); //won't work!
- Cause List is actually an Interface and the "listener" is "ArrayList".I've tried:
omitField(ArrayList.class,"listener"); //won't work!
If it's not a bug, please tell me how to work around. Thank in advanced.