hg: valhalla/valhalla: 8197909: [lworld] Change Javac's diagnostic emission strategy for cyclic.value.type.membership
Srikanth
srikanth.adayapalam at oracle.com
Mon Mar 12 12:20:42 UTC 2018
On Monday 12 March 2018 05:18 PM, srikanth.adayapalam at oracle.com wrote:
> Changeset: 8eb17cb8094a
> Author: sadayapalam
> Date: 2018-03-12 17:14 +0530
> URL: http://hg.openjdk.java.net/valhalla/valhalla/rev/8eb17cb8094a
>
> 8197909: [lworld] Change Javac's diagnostic emission strategy for cyclic.value.type.membership
With this change set, javac by default looks for cycles that involve
__Flattenable fields.
By passing the option -XDrejectValueMembershipCycles to javac, the
erstwhile behavior of
looking for cycles based on membership of __ByValue classes (ignoring
__Flattenable designation)
may be activated.
Srikanth
>
> ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
> ! test/langtools/tools/javac/valhalla/lworld-values/CheckCyclicMembership.java
> + test/langtools/tools/javac/valhalla/lworld-values/CheckFlattenableCycles.java
> + test/langtools/tools/javac/valhalla/lworld-values/CheckFlattenableCycles.out
>
More information about the valhalla-dev
mailing list