RFR: 7366: Object contributions

Marcus Hirt hirt at openjdk.java.net
Tue Jul 27 20:36:32 UTC 2021


On Tue, 27 Jul 2021 14:37:03 GMT, Joshua Matsuoka <jmatsuoka at openjdk.org> wrote:

> This PR addresses JMC-7366, adding Object Contributions for method types in JMC. This allows users to right click on a method in the UI and create an agent plugin probe template for that method, simplifying the user experience a bit.

application/org.openjdk.jmc.console.agent/plugin.xml line 99:

> 97:     </menuContribution>
> 98:   </extension>
> 99:      <extension

There should be a comma after the year(s) in the copyright statement in this file. I know that this hasn't changed, but let's take the opportunity to fix this. :)

application/org.openjdk.jmc.console.agent/src/main/java/org/openjdk/jmc/console/agent/contribution/CreateMethodProbeDialog.java line 2:

> 1: /*
> 2:  * Copyright (c) 2021 Oracle and/or its affiliates. All rights reserved.

Comma after year.

application/org.openjdk.jmc.console.agent/src/main/java/org/openjdk/jmc/console/agent/contribution/CreateMethodProbePage.java line 2:

> 1: /*
> 2:  * Copyright (c) 2021 Oracle and/or its affiliates. All rights reserved.

Comma.

-------------

PR: https://git.openjdk.java.net/jmc/pull/288


More information about the jmc-dev mailing list