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

29 failures in comp mode: String index out of range

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.4.0
    • hotspot
    • None
    • beta
    • sparc
    • solaris_8
    • Verified

      29 failures fail with message "String index out of range" on solsparc & solx86 platform., all of these tests pass in int mode.

      Binary tested here is : c2_baseline+compiler2+20010327-112212

      To reproduce the bug:
      1. cd /net/jano.eng/export/disk20/GammaBase/Bugs/[Bug ID]
      2. go into one of the 29 directories
      3. run the .tlog file

      Here is output log.

      toasteroven:text4032$ /net/sqesvr/export/vsn/users/fhsu/tonga-test/jdk/c2_baseline/jdk1.4/j2sdk-1_4_0-beta-bin-b57-solsparc-22_mar_2001/bin/java -compiler2.20010327-112212 -Xcomp -version
      java version "1.4.0-internal"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-internal-b57)
      Java HotSpot(TM) Server VM (build product+1.4+c2_baseline+compiler2+20010327-112212-release, compiled mode)
      toasteroven:text4032$
      toasteroven:text4032$ /net/sqesvr/export/vsn/users/fhsu/tonga-test/jdk/c2_baseline/jdk1.4/j2sdk-1_4_0-beta-bin-b57-solsparc-22_mar_2001/bin/java -compiler2.20010327-112212 -Xcomp -classpath /net/taloraan.eng/export/vsn/VM/merlin/nightly/result/c2_baseline/compiler2.20010327-112212/solsparc/comp/rerun2-comp/fhsu.Solaris.sparc/text4032:/net/sqesvr.eng/export/vsn/VM/testbase/testbase_vm/src/modena3.2_lib:. X
      Exception in thread "main" java.lang.ExceptionInInitializerError
              at sun.text.Normalizer.decompose(Normalizer.java:952)
              at sun.text.Normalizer.normalize(Normalizer.java:368)
              at java.text.RBTableBuilder.build(RBTableBuilder.java:82)
              at java.text.RBCollationTables.<init>(RBCollationTables.java:68)
              at java.text.RuleBasedCollator.<init>(RuleBasedCollator.java:334)
              at java.text.Collator.getInstance(Collator.java:239)
              at java.text.Collator.getInstance(Collator.java:205)
              at X.check_text(text4032.java:31)
              at X.main(text4032.java:50)
      Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 173
              at java.lang.String.charAt(String.java:432)
              at sun.text.Utility.RLEStringToByteArray(Utility.java:465)
              at sun.text.CompactByteArray.<init>(CompactByteArray.java:114)
              at sun.text.DecompData.<clinit>(DecompData.java:729)
              ... 9 more

            cvicksunw Christopher Vick (Inactive)
            fhsusunw Francis Hsu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: