null checks vs. class resolution, and translation strategy for casts

John Rose john.r.rose at
Thu Apr 9 21:10:51 UTC 2020

On Apr 9, 2020, at 2:07 PM, John Rose <john.r.rose at> wrote:
> Perhaps we want another (intrinsically optimized) version
> of Objects::requireNonNull, which takes a second argument
> that assists in generating a better diagnostic.

(D’oh; there it stands in the the JDK already.)

More information about the valhalla-spec-observers mailing list