8142493: Utility methods to check indexes and ranges doesn't specify behavior when function produces null

Mandy Chung mandy.chung at oracle.com
Thu Nov 12 17:24:07 UTC 2015

Looks good.

> On Nov 12, 2015, at 3:19 AM, Paul Sandoz <paul.sandoz at oracle.com> wrote:
> Hi,
> Please review:
>  http://cr.openjdk.java.net/~psandoz/jdk9/JDK-8142493-checkIndex-function-return-null/webrev/ <http://cr.openjdk.java.net/~psandoz/jdk9/JDK-8142493-checkIndex-function-return-null/webrev/>
> This catches some edge cases for the exception mapping function passed to the Objects::checkIndex* methods, specifically if the function returns null or throws an exception.
> Paul.

More information about the core-libs-dev mailing list