hg: valhalla/valhalla: [lworld] Forbid value types from being type arguments in generic parameterizations / bounds / witnesses (allowed for experiments under -XDallowGenericsOverValues)

srikanth.adayapalam at oracle.com srikanth.adayapalam at oracle.com
Mon Jun 25 10:56:06 UTC 2018


Changeset: e57fd40276e4
Author:    sadayapalam
Date:      2018-06-25 16:25 +0530
URL:       http://hg.openjdk.java.net/valhalla/valhalla/rev/e57fd40276e4

[lworld] Forbid value types from being type arguments in generic parameterizations / bounds / witnesses (allowed for experiments under -XDallowGenericsOverValues)

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
+ test/langtools/tools/javac/valhalla/lworld-values/ValueOverGenericsTest.java
+ test/langtools/tools/javac/valhalla/lworld-values/ValueOverGenericsTest.out
+ test/langtools/tools/javac/valhalla/lworld-values/ValueOverGenericsTest2.out
! test/langtools/tools/javac/valhalla/lworld-values/ValuesAsRefs.java




More information about the valhalla-dev mailing list