hg: valhalla/valhalla/langtools: Fix: do not generate 'typed' opcodes if -XDenableMinimalValueTypes is set

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Mon Nov 7 18:40:50 UTC 2016


Changeset: ef0142d1ab9a
Author:    mcimadamore
Date:      2016-11-07 18:38 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/ef0142d1ab9a

Fix: do not generate 'typed' opcodes if -XDenableMinimalValueTypes is set
Fix translation of value capable class by omitting any extraneous opcode (such as 'typed') as well as
by setting minor/major version accordingly.

! 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
! test/tools/javac/valhalla/minimalvalues/TypedBytecodeTest.java



More information about the valhalla-dev mailing list