hg: valhalla/valhalla: 8197911: [lworld] Null assignment to array cells that are value instances or fields tagged ACC_FLATTENABLE should be rejected.

srikanth.adayapalam at oracle.com srikanth.adayapalam at oracle.com
Mon Feb 26 08:00:07 UTC 2018


Changeset: 93dbb32d03b1
Author:    sadayapalam
Date:      2018-02-26 13:25 +0530
URL:       http://hg.openjdk.java.net/valhalla/valhalla/rev/93dbb32d03b1

8197911:  [lworld] Null assignment to array cells that are value instances or fields tagged ACC_FLATTENABLE should be rejected.

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
+ test/langtools/tools/javac/diags/examples/IllegalNullAssignmentToFlattenableValue.java
+ test/langtools/tools/javac/valhalla/lworld-values/CheckFlattenableFlagFromClass.java
+ test/langtools/tools/javac/valhalla/lworld-values/CheckFlattenableFlagFromClass.out
+ test/langtools/tools/javac/valhalla/lworld-values/FlattenableFlagFromClass.java
+ test/langtools/tools/javac/valhalla/lworld-values/FlattenableNegativeTest.java
+ test/langtools/tools/javac/valhalla/lworld-values/FlattenableNegativeTest.out



More information about the valhalla-dev mailing list