RFR JDK-8182678: add javac and method handle support for mangled value class names in CONSTANT_ClassInfo

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Thu Jun 22 16:56:11 UTC 2017


Thanks, pushed

Maurizio


On 22/06/17 17:38, Paul Sandoz wrote:
> +1
>
> Paul.
>
>> On 22 Jun 2017, at 07:31, Maurizio Cimadamore <maurizio.cimadamore at oracle.com> wrote:
>>
>> I've uploaded new webrevs; the first fixes an issue with ClassReader - which should return a symbol, not a type, when reading a value type signature inside a ClassInfo:
>>
>> http://cr.openjdk.java.net/~mcimadamore/8182678_langtools_v2
>>
>> The second does a little tweak to the bytecode API to add stackmap support
>>
>> http://cr.openjdk.java.net/~mcimadamore/8182678_jdk_v2
>>
>>
>> I did a bit of tests with stackmaps and Qtypes and it looks ok. The fact that values are encoded as 'weird' ClassInfo simplifies things considerably, as most of the infrastructure just works.
>>
>> Maurizio



More information about the valhalla-dev mailing list