JDK-8044790 : Serializing objects with XMLDecoder fails with Java 7
  • Type: Bug
  • Component: xml
  • Sub-Component: jaxb
  • Affected Version: 7u60
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2014-06-04
  • Updated: 2014-10-29
  • Resolved: 2014-08-18
Related Reports
Duplicate :  
Relates :  
Description
If Bean properties are initialized with static values, XMLEncoder.writeObject sometimes writes out nonsense. 
So XMLDecoder.readObject can't read the Java bean correctly and produces incorrect output. See JDK-8016545 for details.