On Mon, 10 Jul 2023 20:36:31 GMT, Joe Darcy <da...@openjdk.org> wrote:

> For discussion purposes, pushed an update where the new method returns null 
> on a non-primitive name.

I also think returning null is saner than throwing a checked exception which 
avoids forcing the caller to catch and also the cost of constructing an 
exception being thrown away.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/14743#issuecomment-1636169276

Reply via email to