Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8269547 | 18 | Jim Laskey | P3 | Resolved | Fixed | b04 |
JDK-8270660 | 17.0.1 | Jim Laskey | P3 | Resolved | Fixed | b03 |
A DESCRIPTION OF THE PROBLEM :
The documentation of the String.regionMatches method contains this fragment: this.substring(toffset, len).codePoints(), but String.substring method takes index, not the length, as the second argument.
See: https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html#regionMatches(boolean,int,java.lang.String,int,int)
The documentation of the String.regionMatches method contains this fragment: this.substring(toffset, len).codePoints(), but String.substring method takes index, not the length, as the second argument.
See: https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html#regionMatches(boolean,int,java.lang.String,int,int)
- backported by
-
JDK-8269547 The documentation of the String.regionMatches method contains error
-
- Resolved
-
-
JDK-8270660 The documentation of the String.regionMatches method contains error
-
- Resolved
-
- csr for
-
JDK-8268674 The documentation of the String.regionMatches method contains error
-
- Closed
-