Regression test Test4200310.sh and class duplication in rt.jar and charsets.jar
Andrew John Hughes
ahughes at redhat.com
Thu May 6 09:21:45 PDT 2010
On 6 May 2010 17:04, Pavel Tisnovsky <ptisnovs at redhat.com> wrote:
> Hi,
>
> I noticed that the regression test Test42000310.sh regularly fails because
> it found duplicate classes stored in archives rt.jar and charsets.jar. I am
> not sure if this is a bug in OpenJDK6 or IcedTea, I suppose it's IcedTea
> issue.
What makes you think this? Have you checked a plain OpenJDK6 build?
There are the list of duplicate classes (they are all from the same
> package, but this package contains more classes, over 400, only part of this
> package is "duplicated"):
>
> sun/nio/cs/ext/DoubleByteDecoder.class
> sun/nio/cs/ext/DoubleByteEncoder.class
> sun/nio/cs/ext/EUC_CN.class
> sun/nio/cs/ext/EUC_CN$Decoder.class
> sun/nio/cs/ext/EUC_CN$Encoder.class
> sun/nio/cs/ext/EUC_KR.class
> sun/nio/cs/ext/EUC_KR$Decoder.class
> sun/nio/cs/ext/EUC_KR$Encoder.class
> sun/nio/cs/ext/EUC_TW.class
> sun/nio/cs/ext/EUC_TW$Decoder.class
> sun/nio/cs/ext/EUC_TW$Encoder.class
> sun/nio/cs/ext/ExtendedCharsets.class
> sun/nio/cs/ext/GBK.class
> sun/nio/cs/ext/GBK$Decoder.class
> sun/nio/cs/ext/GBK$Encoder.class
> sun/nio/cs/ext/HKSCS.class
> sun/nio/cs/ext/HKSCS$Decoder.class
> sun/nio/cs/ext/HKSCS$Encoder.class
> sun/nio/cs/ext/JIS_X_0201.class
> sun/nio/cs/ext/JIS_X_0201$Decoder.class
> sun/nio/cs/ext/JIS_X_0201$Encoder.class
> sun/nio/cs/ext/JIS_X_0208_Decoder.class
> sun/nio/cs/ext/JIS_X_0208_Encoder.class
> sun/nio/cs/ext/JIS_X_0212_Decoder.class
> sun/nio/cs/ext/JIS_X_0212_Encoder.class
>
> btw: this regression test itself is buggy, I'm going to prepare webrev with
> proposed changes.
>
> any ideas?
>
> Cheers
> Pavel
>
--
Andrew :-)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
More information about the distro-pkg-dev
mailing list