JDK-6798572 : (cs) test/closed/java/nio/charset/Charset/Contains.java failing since jdk7-b43
Type:Bug
Component:core-libs
Sub-Component:java.nio.charsets
Affected Version:OpenJDK6,7
Priority:P2
Status:Closed
Resolution:Fixed
OS:generic,linux_suse_sles_10
CPU:generic
Submitted:2009-01-28
Updated:2011-01-19
Resolved:2009-11-19
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.
EVALUATION
While the "general" definition of iso8859-15 is "iso8859-1 + euro", the "formal"
spec is that the 8859-15 is an "update" of 8850-1, it removed some "in-frequently" used characters and added some "useful" characters, including eoru. So strictly speaking,
these are two "different" encodings/charsets, 8859-15 does not "contain" 8859-1 based
on Charset.contains() spec.
The implementation before b43 is wrong and the test case is wrong.