JDK-8199295 : Remove SNMP agent
  • Type: CSR
  • Component: core-svc
  • Sub-Component: java.lang.management
  • Priority: P3
  • Status: Closed
  • Resolution: Approved
  • Fix Versions: 11
  • Submitted: 2018-03-08
  • Updated: 2018-07-12
  • Resolved: 2018-04-03
Related Reports
CSR :  
Relates :  
Description
Summary
-------

Drop SNMP support. The `jdk.snmp` module has been deprecated-for-removal since JDK 10.

Problem
-------

SNMP monitoring and management support was added in JDK 5 but has not been
widely used today.  Due to its lack of usage, it has been decided to drop this
closed JDK feature.  `jdk.snmp` module was deprecated for removal via JDK-8194164
and this CSR proposes to remove it.

Solution
--------

Remove `jdk.snmp` module entirely

Specification
-------------

jdk.snmp module is being removed.  As part of this module removal,  

 -  ${java.home}/conf/management/management.properties file is updated to drop com.sun.management.snmp.* properties for SNMP monitoring support.
 -  ${java.home}/conf/management/snmp.acl.template file will be removed.

With these updates, the following `com.sun.management.snmp.*` properties will become noop when
setting via the `-D` option or via the management.properties configuration.

 - com.sun.management.snmp.port
 - com.sun.management.snmp.trap
 - com.sun.management.snmp.interface
 - com.sun.management.snmp.acl
 - com.sun.management.snmp.acl.file

Comments
I see the parent issue is already marked as requiring a release note. Moving to Approved.
03-04-2018

[~darcy] , I have updated the CSR. Could you review the same and approve it ?
02-04-2018

[~asapre] The webrev is not part of the spec change. Please take it out as Joe commented. The specification section should mention "Remove jdk.snmp module" for completeness.
20-03-2018

Shouldn't the specification changes/webev include the deletion of the module-info file for the module, as updated in JDK-8194164? Pending the request until that is sorted out. Also, if the webrev is part of the specification change, it should be included as an attachment for archival purposes in addition to a live link.
20-03-2018

[~asapre] The specification should mention: `${java.home}/conf/management.properties` is updated to drop `com.sun.management.snmp.*` properties for SNMP monitoring support. And `${java.home}/conf/snmp.acl.template` will be removed.
19-03-2018