Integrated: Fix erasure of null-restricted types
Maurizio Cimadamore
mcimadamore at openjdk.org
Thu Jan 8 16:47:23 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
This pull request has now been integrated.
Changeset: 1d5dfc24
Author: Maurizio Cimadamore <mcimadamore at openjdk.org>
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
More information about the valhalla-dev
mailing list