hg: valhalla/valhalla/langtools: Fix: Compiler should reject value modifier when it features in illegal contexts

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Fri Nov 20 11:40:40 UTC 2015


Changeset: ec27ff1cb372
Author:    mcimadamore
Date:      2015-11-20 11:40 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/ec27ff1cb372

Fix: Compiler should reject value modifier when it features in illegal contexts
Contributed-by: srikanth.adayapalam at oracle.com

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Flags.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
+ test/tools/javac/valhalla/values/CheckValueModifier.java
+ test/tools/javac/valhalla/values/CheckValueModifier.out



More information about the valhalla-dev mailing list