RFR(S): JDK-8211026 jdb should not allow to assign null to value type

Mandy Chung mandy.chung at oracle.com
Tue Oct 15 22:09:43 UTC 2019



On 10/15/19 2:30 PM, Frederic Parain wrote:
> Please review this small fix preventing assigning null to a local variable
> with an inline type.
>
> CR:
> https://bugs.openjdk.java.net/browse/JDK-8211026
>
> Webrev:
> http://cr.openjdk.java.net/~fparain/jdb_null_assignment/webrev.00/index.html

It looks okay to me.  Perhaps at some point there should be 
isNullableType in JDI API.

Mandy

> The case of preventing assigning null to an inline field has already been
> fixed in a previous patch.
>
> Thank you,
>
> Fred
>




More information about the valhalla-dev mailing list