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

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)

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

                Created:
                Updated:
                Resolved: