State of javac support for lworld-values.

John Rose john.r.rose at oracle.com
Wed Mar 14 00:55:26 UTC 2018


On Mar 13, 2018, at 5:12 PM, Srikanth <srikanth.adayapalam at oracle.com> wrote:
> 
> For value arrays, I don't think there is anything that expressly needs to be handled by javac. I will double check.

(that seems true to me too)

> For nullability, my understanding is that expectations are different for javac and the VM. That javac should regardless of the flattenable/array element status, forbid injection of nulls.

Yep.  The JVM is currently permissive about nulls, so that it can
easily run down-rev classfiles without surprises.

But that could change.  In any case, javac should be non-permissive
when it is compiling valhalla code.

— John



More information about the valhalla-dev mailing list