hg: valhalla/valhalla/langtools: Enhanced support for BytecodeMapping attribute

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Fri Aug 8 16:20:58 UTC 2014


Changeset: 7904f37d7d98
Author:    mcimadamore
Date:      2014-08-08 17:16 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/7904f37d7d98

Enhanced support for BytecodeMapping attribute
*) new opcodes supported: putfield/getfield/invokespecial/invokevirtual/invokeinterface
*) Add test harness to check correctness of BytecodeMapping attributes
*) Add javap support for BytecodeMapping and TypeVariablesMap
*) Fix bug in SpecializeTypes where super symbol was not being replaced correctly
*) Fix missing call to 'synthetizeIfMissing' in SymTab (for VarHandle related classes)

! src/share/classes/com/sun/tools/classfile/Attribute.java
+ src/share/classes/com/sun/tools/classfile/BytecodeMapping_attribute.java
! src/share/classes/com/sun/tools/classfile/ClassWriter.java
+ src/share/classes/com/sun/tools/classfile/TypeVariablesMap_attribute.java
! src/share/classes/com/sun/tools/javac/code/Symtab.java
! src/share/classes/com/sun/tools/javac/comp/SpecializeTypes.java
! src/share/classes/com/sun/tools/javac/jvm/Gen.java
! src/share/classes/com/sun/tools/javac/jvm/Items.java
! src/share/classes/com/sun/tools/javap/AttributeWriter.java
! test/tools/javac/MethodParameters/AttributeVisitor.java
+ test/tools/javac/valhalla/typespec/items/BytecodeMapping.java
+ test/tools/javac/valhalla/typespec/items/BytecodeMappingHarness.java
+ test/tools/javac/valhalla/typespec/items/Opcodes.java
+ test/tools/javac/valhalla/typespec/items/tests/TestAnyMembers.java
+ test/tools/javac/valhalla/typespec/items/tests/TestArrayLoadAndStore.java
+ test/tools/javac/valhalla/typespec/items/tests/TestCmp.java
+ test/tools/javac/valhalla/typespec/items/tests/TestDup.java
+ test/tools/javac/valhalla/typespec/items/tests/TestLoadAndStore.java
+ test/tools/javac/valhalla/typespec/items/tests/TestPop.java
+ test/tools/javac/valhalla/typespec/items/tests/TestSuper.java



More information about the valhalla-dev mailing list