CharBuffer.charAt fails so CharBuffer cannot be used as CharSequence

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • None
    • Affects Version/s: 1.4.0
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: