hg: valhalla/valhalla: [lworld] Introduce a new annotation java.lang.ValueBased to distinguish migrating value based classes from pure value types and implement leniet semantics for them; Also flip the default for ACC_Flattenable

srikanth.adayapalam at oracle.com srikanth.adayapalam at oracle.com
Mon Apr 2 12:21:08 UTC 2018


Changeset: 32ff82e6b770
Author:    sadayapalam
Date:      2018-04-02 17:50 +0530
URL:       http://hg.openjdk.java.net/valhalla/valhalla/rev/32ff82e6b770

[lworld] Introduce a new annotation java.lang.ValueBased to distinguish migrating value based classes from pure value types and implement leniet semantics for them; Also flip the default for ACC_Flattenable

+ src/java.base/share/classes/java/lang/ValueBased.java
! src/java.compiler/share/classes/javax/lang/model/element/Modifier.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Flags.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symtab.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/Tokens.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
! src/jdk.jshell/share/classes/jdk/jshell/CompletenessAnalyzer.java
+ test/langtools/tools/javac/diags/examples/BadValueBasedAnno.java
+ test/langtools/tools/javac/diags/examples/SuspiciousNullMix.java
+ test/langtools/tools/javac/valhalla/lworld-values/BadValueBased.java
+ test/langtools/tools/javac/valhalla/lworld-values/BadValueBased.out
! test/langtools/tools/javac/valhalla/lworld-values/CastNullCheckTest.java
+ test/langtools/tools/javac/valhalla/lworld-values/CheckDefaultFlattenable.java
! test/langtools/tools/javac/valhalla/lworld-values/CheckNullCastable.out
+ test/langtools/tools/javac/valhalla/lworld-values/DemoteToValueBasedTest.java
+ test/langtools/tools/javac/valhalla/lworld-values/DemoteToValueBasedTest.out
+ test/langtools/tools/javac/valhalla/lworld-values/DemoteToValueBasedTest10.out
! test/langtools/tools/javac/valhalla/lworld-values/FlattenableFlagTest.java
! test/langtools/tools/javac/valhalla/lworld-values/Point.java
+ test/langtools/tools/javac/valhalla/lworld-values/ValueBasedWarningsTest.java
+ test/langtools/tools/javac/valhalla/lworld-values/ValueBasedWarningsTest.out



More information about the valhalla-dev mailing list