Details
Description
The org.apache.zookeeper.test.ClientBase, org.apache.zookeeper.test.ClientTest, org.apache.zookeeper.test.QuorumBase and org.apache.zookeeper.test.QuorumUtil classes import the com.sun.management.UnixOperatingSystemMXBean class, that fail to build when using IBM Java 6 SR 11. This issue is resolved by new class OSMXBean class proposed in JIRA's ZOOKEEPER-1474.
The class OSMXBean (org.apache.zookeeper.server.util.OSMXBean) is a wrapper for the implementation of com.sun.management.UnixOperatingSystemMXBean, and decides to use the SUN API or its own implementation depending on the runtime (vendor) used.
Attachments
Attachments
Issue Links
- depends upon
-
ZOOKEEPER-1474 Cannot build Zookeeper with IBM Java: use of Sun MXBean classes
- Closed
- duplicates
-
ZOOKEEPER-1565 Allow ClientTest.java build with IBM Java
- Resolved
-
ZOOKEEPER-1570 Allow QuorumBase.java build with IBM Java
- Resolved
-
ZOOKEEPER-1571 Allow QuorumUtil.java build with IBM Java
- Resolved