RFR : 8131061 - Use of -Dcom.sun.management.snmp needs to be examined for modules
Daniel Fuchs
daniel.fuchs at oracle.com
Tue Aug 23 15:21:29 UTC 2016
On 23/08/16 15:45, Harsha Wardhana B wrote:
> Hi Daniel,
>
> The focus of this issue was to decouple hard-dependency between
> java.management module and jdk.snmp module since jdk.snmp is not a core
> module. There was not much focus on an 'Agent' Interface that could
> allow plugging in any Agent. Hence there was no discussions around the
> structure of such an interface.
>
OK - sun/management/spi/AgentProvider.java is a private
interface that only classes in the JDK can implement, and
is not designed to be extended outside of the JDK, so I
agree that what you have seems to be sufficient for the purpose
of decoupling. Because nothing outside of the JDK can implement
it then it can be revisited and amended later if we have other uses.
+1 if Mandy is OK :-)
cheers,
-- daniel
More information about the serviceability-dev
mailing list