RFR: 8156694 javap should render annotations in a friendly way

Sundararajan Athijegannathan sundararajan.athijegannathan at oracle.com
Wed Nov 22 02:31:05 UTC 2017


+1

PS. new test source has (c) 2014, 2016.

-Sundar

On 22/11/17, 2:14 AM, Maurizio Cimadamore wrote:
> Looks great! Will really help for panama development ;-)
>
> Thanks
> Maurizio
>
>
> On 21/11/17 19:35, Jonathan Gibbons wrote:
>> Please review a relatively simple fix for javap to write disassembled 
>> annotations in a reasonably
>> friendly form, resolving constant pool indices.
>>
>> Alternate layouts were attempted, including a more javap-traditional 
>> way of left-right side-by-side printing,
>> but the difficulty of handling potentially complex annotations made 
>> this more trouble than it was worth.
>> So for now, it's a simple, easy layout, as illustrated in the new 
>> test. One other test was affected by the new
>> information, and has been updated appropriately.
>>
>> -- Jon
>>
>> JBS: https://bugs.openjdk.java.net/browse/JDK-8156694
>> Webrev: http://cr.openjdk.java.net/~jjg/8156694/webrev.00/index.html
>>
>>
>


More information about the compiler-dev mailing list