JDK-2192453 : (cs) test/closed/java/nio/charset/Charset/Contains.java failing since jdk7-b43
  • Type: Backport
  • Backport of: JDK-6798572
  • Component: core-libs
  • Sub-Component: java.nio.charsets
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2010-05-03
  • Updated: 2010-12-06
  • Resolved: 2010-05-03
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 Other
7Fixed OpenJDK6Fixed
Comments
SUGGESTED FIX # HG changeset patch # User ptisnovs # Date 1272903428 -7200 # Node ID a78afce5980929c2bcd1910a57606b72dada9bcb # Parent c3a035784a3a27c2fe77691f67ecd5f07bbc19d4 6798572: test/closed/java/nio/charset/Charset/Contains.java failing since jdk7-b43 Summary: corrected relationship between ISO-8859-1 and ISO-8859-15 charsets: ISO-8859-1 is not subset of ISO-8859-12 Reviewed-by: sherman, darcy --- a/src/share/classes/sun/nio/cs/ISO_8859_15.java Fri Apr 16 09:54:13 2010 +0100 +++ b/src/share/classes/sun/nio/cs/ISO_8859_15.java Mon May 03 18:17:08 2010 +0200 @@ -49,7 +49,6 @@ public class ISO_8859_15 extends Charset public boolean contains(Charset cs) { return ((cs instanceof US_ASCII) - || (cs instanceof ISO_8859_1) || (cs instanceof ISO_8859_15)); }
03-05-2010

PUBLIC COMMENTS See http://hg.openjdk.java.net/jdk6/jdk6/jdk/rev/a78afce59809
03-05-2010

EVALUATION A fine backport.
03-05-2010