RFR: 7480: Trim method descriptor value
Marcus Hirt
hirt at openjdk.java.net
Sun Dec 19 16:27:30 UTC 2021
On Sat, 18 Dec 2021 17:30:01 GMT, Gunnar Morling <duke at openjdk.java.net> wrote:
> Hey @thegreystone, here's a fix for trimming the method signature value when building the method descriptors in the agent. Without this, wrapping the tags around long signatures like that [will fail](https://github.com/moditect/jfrunit-examples/commit/bd4bc8023c760a3d719dc9295cbe010fb56d7f6f#diff-8999381a163c84127b7e94462f39060c054a984904f82c34713d0ade0954e4c5R81):
>
>
> <descriptor>
> (Ljava/sql/PreparedStatement;Ljava/lang/Object;ILorg/hibernate/type/descriptor/WrapperOptions;)V
> </descriptor>
>
>
> Could you log an issue if you think it's a worthwhile fix? The second commit is some unrelated clean-up I did along the way. Thx!
Marked as reviewed by hirt (Lead).
-------------
PR: https://git.openjdk.java.net/jmc/pull/343
More information about the jmc-dev
mailing list