United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6231888 JMXConnector should implement Closeable
JDK-6231888 : JMXConnector should implement Closeable

Details
Type:
Enhancement
Submit Date:
2005-02-22
Status:
Resolved
Updated Date:
2010-07-29
Project Name:
JDK
Resolved Date:
2005-04-16
Component:
core-svc
OS:
windows_2000
Sub-Component:
javax.management
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
5.0
Fixed Versions:

Related Reports
Relates:

Sub Tasks

Description
A DESCRIPTION OF THE REQUEST :
JMXConnector has a close method that throws an IOException, thus it can implement java.io.Closeable without any compatibility issues. It should do so.

JUSTIFICATION :
  To be able to close JMXConnector like it was any other IO resource
###@###.### 2005-2-22 23:13:52 GMT

                                    

Comments
EVALUATION

Indeed, now that the JMX Remote API is part of J2SE we can make this change.
###@###.### 2005-03-02 20:49:56 GMT
                                     
2005-03-02
SUGGESTED FIX

Make JMXConnector, RMIConnection and RMIServerImpl
implement or extend java.io.Closeable.
###@###.### 2005-03-21 18:05:40 GMT
                                     
2005-03-21



Hardware and Software, Engineered to Work Together