On Tue, 3 Sep 2024 08:06:14 GMT, Kevin Walls <kev...@openjdk.org> wrote:
> Deprecation annotations and warnings on starting the tool(s). > Handle man page in a separate issue. src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/HotSpotAgent.java line 207: > 205: to which the RMI connector is bound. If not specified a random > 206: available port is used. */ > 207: @Deprecated(since="24", forRemoval=true) jdk.agent.agent does not export any APIs so I assume it's pointless adding the `@Deprecated` tag to its classes. For tools like this, the important bit is the warning at startup (like we did with other tools). ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/20830#discussion_r1741677624