hg: valhalla/valhalla: 8197791: Allow null to be cast into a value type (for now)

srikanth.adayapalam at oracle.com srikanth.adayapalam at oracle.com
Tue Feb 20 10:36:41 UTC 2018


Changeset: 4d91ea65f463
Author:    sadayapalam
Date:      2018-02-20 16:01 +0530
URL:       http://hg.openjdk.java.net/valhalla/valhalla/rev/4d91ea65f463

8197791:  Allow null to be cast into a value type (for now)

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
! test/langtools/tools/javac/valhalla/lworld-values/CheckNullAssign.java
! test/langtools/tools/javac/valhalla/lworld-values/CheckNullCastable.java
! test/langtools/tools/javac/valhalla/lworld-values/CheckNullCastable.out



More information about the valhalla-dev mailing list