RFR: 8156694 javap should render annotations in a friendly way

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Tue Nov 21 20:44:38 UTC 2017


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