On Thu, 8 Jan 2026 16:29:58 GMT, Maurizio Cimadamore <[email protected]> 
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

This pull request has now been integrated.

Changeset: 1d5dfc24
Author:    Maurizio Cimadamore <[email protected]>
URL:       
https://git.openjdk.org/valhalla/commit/1d5dfc248be9734748af5054f7f7716cb3e692d9
Stats:     4 lines in 1 file changed: 2 ins; 0 del; 2 mod

Fix erasure of null-restricted types

Reviewed-by: vromero

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

PR: https://git.openjdk.org/valhalla/pull/1870

Reply via email to