hg: valhalla/valhalla/langtools: Summary: Add an option -XDGenerateValueAsReference under which javac would treat value types as reference types for code generation purposes while treating them as value types for all other purposes (to allow for early user testing.)

srikanth.adayapalam at oracle.com srikanth.adayapalam at oracle.com
Fri Jan 22 11:01:27 UTC 2016


Changeset: 659f44b99b6c
Author:    sadayapalam
Date:      2016-01-22 16:25 +0530
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/659f44b99b6c

Summary: Add an option -XDGenerateValueAsReference under which javac would treat value types as reference types for code generation purposes while treating them as value types for all other purposes (to allow for early user testing.)
Reviewed-by: mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symbol.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symtab.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Type.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/Resolve.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TypeEnter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Items.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/main/JavaCompiler.java
+ test/tools/javac/valhalla/values/GetFieldTest.java
+ test/tools/javac/valhalla/values/NestingTest.java
+ test/tools/javac/valhalla/values/NestingTest2.java
+ test/tools/javac/valhalla/values/SimpleTest.java



More information about the valhalla-dev mailing list