On Tue, 11 Jul 2023 19:13:01 GMT, Ashutosh Mehra <d...@openjdk.org> wrote:
> > What would be needed to make the Annotations appear in the "printall" > > command? I was somehow expecting to see at least something like > > "Annotation@xxxx". > > I am not sure what all details `printall` is expected to emit out. Looking at > the code, printall doesn't seem to use ClassWriter. It uses HTMLGenerator to > format the method data. I can emit something like "Annotation@xxxx" but it > would be more useful if it can display the contents of the annotations. > Unfortunately HTMLGenerator doesn't understand Annotations at all. Probably > it is better left for another task. No problem at all. I only thought about this because it would have making a regression test very easy (there is a jtreg test that calls printall and then parses the output). ------------- PR Comment: https://git.openjdk.org/jdk/pull/14735#issuecomment-1632735373