JDK-8048710 : Use ServiceLoader for the jvmstat protocols
  • Type: Bug
  • Component: core-svc
  • Sub-Component: tools
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-06-30
  • Updated: 2014-07-10
  • Resolved: 2014-07-01
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 9
9 b22Fixed
Related Reports
Blocks :  
Description
jvmstat uses Class.forName() to load the different protocol implementations. A better implementation would be to use ServiceLoader instead. This would also make it easier to remove dependencies on some protocols.