hg: valhalla/valhalla/langtools: BytecodeMapping generation fixes:

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Tue Jan 6 13:00:52 UTC 2015


Changeset: 8331682af2ed
Author:    mcimadamore
Date:      2015-01-06 12:54 +0000
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/8331682af2ed

BytecodeMapping generation fixes:
* missing BMA for eq/ne any comparisons nested within logic operators &&/||
* missing BMA for field/method access immediately following a constructor call
* refactor Items code in order to avoid cast to AnyItem in order to access type info associated with a given item
* added tests

! 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/typespec/items/tests/TestBinary.java
! test/tools/javac/valhalla/typespec/items/tests/TestInstanceof.java
! test/tools/javac/valhalla/typespec/items/tests/TestNew.java



More information about the valhalla-dev mailing list