hg: valhalla/valhalla: 8222784: [lworld] Remove stale compiler options: -XDallowGenericsOverValues and -XDdisallowValueConstructors

Srikanth srikanth.adayapalam at oracle.com
Sat Apr 20 05:38:21 UTC 2019


I have removed the support for these two internal experimental options:

(1) -XDdisallowValueConstructors: We have settled on value instance 
construction using the canonial construction syntax via new ().

(2) -XDallowGenericsOverValues: Use the null projection type instead (V?)

Here is a summary of current internal options: Of these the last two are 
supposed to be transitory. If you are the concerned contributor, let me 
know as soon as these can be withdrawn.

-XDallowWithFieldOperator
-XDallowValueBasedClasses
-XDallowEmptyValues
-XDnonCovariantValueArrays
-XDallowValueMemberCycles

Thanks!
Srikanth

On 20/04/19 11:04 AM, srikanth.adayapalam at oracle.com wrote:
> Changeset: 49898238a5bb
> Author:    sadayapalam
> Date:      2019-04-20 11:04 +0530
> URL:       http://hg.openjdk.java.net/valhalla/valhalla/rev/49898238a5bb
>
> 8222784: [lworld] Remove stale compiler options: -XDallowGenericsOverValues and -XDdisallowValueConstructors
>
> ! 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/resources/compiler.properties
> ! test/langtools/tools/javac/diags/examples.not-yet.txt
> ! test/langtools/tools/javac/valhalla/lworld-values/BoxValCastTest.java
> ! test/langtools/tools/javac/valhalla/lworld-values/BoxValCastTest2.java
> ! test/langtools/tools/javac/valhalla/lworld-values/CheckFinal.java
> ! test/langtools/tools/javac/valhalla/lworld-values/CheckFinal.out
> ! test/langtools/tools/javac/valhalla/lworld-values/CheckValueFactoryWithReference.java
> ! test/langtools/tools/javac/valhalla/lworld-values/CheckValueFactoryWithReference.out
> ! test/langtools/tools/javac/valhalla/lworld-values/InferredValueParameterizationTest.java
> ! test/langtools/tools/javac/valhalla/lworld-values/ValueConstructorRef.java
> ! test/langtools/tools/javac/valhalla/lworld-values/ValueOverGenericsTest.java
> - 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