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

REGRESSION:sun.io classes are duplicated between rt.jar and charsets.jar

    XMLWordPrintable

Details

    Description

      sun/io/CharToByteIS0212_Solaris.class are duplicated in rt.jar and charsets.jar file.

      This's regression from 1.4.0_03 to 1.4.0_04 b01 release.

      Fix for bug#4765370 in 1.4.0_04 b1 release might cause this regression.

      Run the following testcase (test.sh file) with the jdk location as a input parameter
      -------------------
      #!/bin/ksh

      TESTJAVA=$1

      rm -f class-list

      $TESTJAVA/bin/jar -tf "$TESTJAVA/jre/lib/rt.jar" > class-list 2>&1
      $TESTJAVA/bin/jar -tf "$TESTJAVA/jre/lib/charsets.jar" >> class-list 2>&1
      $TESTJAVA/bin/jar -tf "$TESTJAVA/jre/lib/ext/localedata.jar" >> class-list 2>&1
      duplicates=`grep '\.class$' class-list | sort | uniq -d`

      #rm -f class-list
      if [ "$duplicates" != "" ]; then
         echo FAILED: $duplicates are duplicated between rt.jar, charsets.jar, and loc
      aledata.jar
         exit 1
      fi

      exit 0
      -------------------

      Attachments

        Issue Links

          Activity

            People

              hdongorcl Hao Dong (Inactive)
              asaha Abhijit Saha
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: