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

fp.bugs<1626>java.lang.String#lastIndexOf(String,int) is not correct

XMLWordPrintable

    • 1.0beta
    • sparc
    • solaris_2.4
    • Not verified

      pfu.fujitsu.co.jp!###@###.###

      Description:
      (new String("abcdefg")).lastIndexOf("ff") returns 4, it is wrong
      (new String("abcdefg")).lastIndexOf("fff") returns -1, it is correct

            fyellinsunw Frank Yellin (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: