RFR: Fix erasure of null-restricted types
Vicente Romero
vromero at openjdk.org
Thu Jan 8 16:40:54 UTC 2026
On Thu, 8 Jan 2026 16:29:58 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
> There are two issues with erasing null-restricted types:
> * not all the code paths in `Types::erasure` drop null restrictions
> * for some types like `String`, `Types::erasure` treats erasure as a no-op
lgtm
-------------
Marked as reviewed by vromero (Committer).
PR Review: https://git.openjdk.org/valhalla/pull/1870#pullrequestreview-3640260698
More information about the valhalla-dev
mailing list