Details
-
Type: Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.1.1
-
Component/s: None
-
Labels:None
-
JDK version and platform:Sun 1.4.2_03 Windows
Description
Closing the ObjectOutputStream/ObjectInputStream created by XStream still leaves the nested Writer/Reader open. They have to be manually closed.
The general contract for Streams, Writers and Readers is that closing them also closes any nested streams.
Fixed. Grab the latest snapshot: http://dist.codehaus.org/xstream/jars/xstream-SNAPSHOT.jar