JDK-6328473 : encoding bug (6317399): java/beans/XMLEncoder.java
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.beans
  • Affected Version: 5.0u4
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2005-09-24
  • Updated: 2011-01-19
  • Resolved: 2006-11-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7 b03Fixed
Related Reports
Relates :  
Relates :  
Description
Please first read Comments section here and in 6317399.

State of bug 4937510 says: closed, fixed.
Almost true -- there's still the following bug:

In java/beans/XMLEncoder.java (5.0u4):

// wrong line 486
                out.write(' ');
// correction:
                out.write(" ".getBytes(encoding));

Comments
EVALUATION We should optimize this method.
11-10-2006

SUGGESTED FIX See Description.
24-09-2005