RFR: 8156694 javap should render annotations in a friendly way
Jonathan Gibbons
jonathan.gibbons at oracle.com
Tue Nov 21 19:35:28 UTC 2017
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