RFR: 8298033: Character.codePointAt(char[], int, int) doesn't do JavaDoc-specified check
Roger Riggs
rriggs at openjdk.org
Fri Dec 2 15:09:56 UTC 2022
On Fri, 2 Dec 2022 15:00:15 GMT, Sergey Tsypanov <stsypanov at openjdk.org> wrote:
> The reason why it was passing prior to these changes is that `ArrayIndexOutOfBoundsException` extends `IndexOutOfBoundsException` and the latter is caught in the test.
Perhaps then, tighten up the test. It seems odd to have a case that doesn't meet the spec but doesn't fail the test
-------------
PR: https://git.openjdk.org/jdk/pull/11480
More information about the core-libs-dev
mailing list