JDK-8071367 : Remove SNMP agent
  • Type: Enhancement
  • Component: core-svc
  • Sub-Component: java.lang.management
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-01-22
  • Updated: 2018-07-12
  • Resolved: 2018-04-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11
11 b09Fixed
Related Reports
Blocks :  
CSR :  
Relates :  
Relates :  
Relates :  
Relates :  
Sub Tasks
JDK-8179909 :  
JDK-8199358 :  
Description
SNMP monitoring and management support was added in JDK 5 as Oracle JDK support:
   http://docs.oracle.com/javase/8/docs/technotes/guides/management/snmp.html

There hasn't been much customer inquiry and feedback on JVM SNMP monitoring.  This issue suggests re-examining this feature and consider to deprecate in JDK 10 and remove it in JDK 11 that includes com.sun.management.snmp.* properties configured in management.properties file.

JVM-MANAGEMENT-MIB.mib is defined by JSR 163 and thus this issue requires to look into the specification and evaluate its implication.

[1] http://docs.oracle.com/javase/1.5.0/docs/guide/management/JVM-MANAGEMENT-MIB.mib
Comments
The java.security.acl APIs have now been marked with forRemoval=true in JDK 10, and the intention/plan as of now is to remove them in JDK 11. Here is the changeset: http://hg.openjdk.java.net/jdk/jdk/rev/e6e6ed17abbe
14-11-2017

I think we should at least looking at flagging SNMP for removal in a future release.
27-05-2016

Looks like com.sun.jmx.snmp.IPAcl package provides the implementation of java.security.acl. It doesn't use sun.security.acl.
05-02-2015

jdk.snmp depends on java.security.acl that is planned to be removed (JDK-8050955). SNMP implementation needs to be updated to prepare for the removal of java.security.acl.
22-01-2015