JDK-6753790 : JMXNamespaces.narrowToNamespace(JMXConnector, String) needs better spec or annihilation
  • Type: Bug
  • Component: core-svc
  • Sub-Component: javax.management
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2008-09-29
  • Updated: 2010-07-29
  • Resolved: 2008-11-12
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 7
7Resolved
Related Reports
Duplicate :  
Description
The method JMXNamespaces.narrowToNamespace(JMXConnector) is underspecified. It does not say what happens if the target namespace does not exist at the time it is called, or at a later time when getMBeanServerConnection() is called on the returned JMXConnector. It declares IOException as thrown but does not say under what circumstances that happens.

Comments
EVALUATION Given its woolly semantics, it's not clear that this method should continue to exist, but if it does then its spec must be tightened up.
29-09-2008