-
Bug
-
Resolution: Fixed
-
P2
-
8u60, 9
-
b62
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8084800 | emb-9 | Brent Christian | P2 | Resolved | Fixed | team |
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)
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)
- backported by
-
JDK-8084800 StringBuffer's codePoint methods throw unspecified IndexOutOfBoundsException
-
- Resolved
-
- relates to
-
JDK-8005622 Inherited Javadoc missing @throws
-
- Resolved
-