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

CharBuffer.charAt fails so CharBuffer cannot be used as CharSequence

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.0
    • core-libs
    • None
    • generic
    • generic

      CharBuffer cannot be used as a CharSequence because the charAt call performs an incorrect range check. Thus one cannot use CharBuffer as a CharSequence, for example, with Matcher. Almost any attempt to use Matcher against a CharBuffer throws an exception because of the incorrect range check.

            Unassigned Unassigned
            dougfelt Doug Felt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: