Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
pop unmarshalled type on exception #91
This has been proposed before, however, it is not valid. XStream is based on an incoming data stream. After an exception the state and location of the pointer in that stream is simply undefined. XStream cannot guarantee anything for the underlying stream especially if a caller wants to continue with the processing of that stream. The raised exception has to quit the complete unmarshalling process and therefore it does not make sense to reset the state of the stack, when the complete object that holds the stack is no longer valid.