StringBuffer's codePoint methods throw unspecified IndexOutOfBoundsException

XMLWordPrintable

    • b62
    • Verified

        The following methods may throw IndexOutOfBoundsException, but don't have an appropriate assertion in Javadocs:
            java.lang.StringBuffer.codePointAt(int)
            java.lang.StringBuffer.codePointBefore(int)
            java.lang.StringBuffer.codePointCount(int,int)

        They should have assertions like these methods:
            java.lang.StringBuilder.codePointAt(int)
            java.lang.StringBuilder.codePointBefore(int)
            java.lang.StringBuilder.codePointCount(int,int)

              Assignee:
              Brent Christian
              Reporter:
              Kirill Fertikov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: