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

Lance @ Oracle lance.andersen at oracle.com
Thu Nov 12 12:26:49 UTC 2015


Looks ok Paul


Best
Lance


Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering 
1 Network Drive
Burlington, MA 01803
Lance.Andersen at oracle.com
Sent from my iPad

> On Nov 12, 2015, at 6: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