InterviewSolution
| 1. |
Why Does Xstream Not Convert An Java.beans.eventhandler? |
|
Answer» SINCE XStream VERSION 1.4.7 it does no longer handle an EventHandler automatically. Such an instance can be used to initiate calls on arbitrary instances at deserialization time e.g. ProcessBuilder.start() You can register a ReflectionConverter instance EXPLICITLY for the EventHandler if you NEED support for such instances. Since XStream version 1.4.7 it does no longer handle an EventHandler automatically. Such an instance can be used to initiate calls on arbitrary instances at deserialization time e.g. ProcessBuilder.start() You can register a ReflectionConverter instance explicitly for the EventHandler if you need support for such instances. |
|