Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4200310

In 1.2fcs some sun.io classes are duplicated between rt.jar and i18n.jar

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.3.0
    • 1.2.0
    • core-libs
    • None
    • beta
    • sparc
    • solaris_2.5.1

      The following converter classes are in both rt.jar and i18n.jar. They
      should only be in rt.jar. The fix is to remove these from
      ext/i18n/build/share/sun_io.jmk.

        sun/io/ByteToCharConverter.class
        sun/io/ByteToCharSingleByte.class
        sun/io/CharToByteSingleByte.class
        sun/io/ByteToCharCp1252.class
        sun/io/CharToByteISO8859_1.class
        sun/io/CharToByteConverter.class
        sun/io/CharToByteCp1252.class

      To verify that there are indeed duplicated, run this script:

        cd /usr/local/java/jdk1.2/solaris/jre/lib
        zipinfo -1 rt.jar > /tmp/dup-list
        zipinfo -1 i18n.jar >> /tmp/dup-list
        grep '\.class$' /tmp/dup-list | sort | uniq -c | grep -v '^ 1'

      anand.palaniswamy@Eng 1999-01-02

            nlindenbsunw Norbert Lindenberg (Inactive)
            apalanissunw Anand Palaniswamy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: