Paulo Ricardo Paz Vital created ZOOKEEPER-1570:
--------------------------------------------------
Summary: Allow QuorumBase.java build with IBM Java
Key: ZOOKEEPER-1570
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1570
Project: ZooKeeper
Issue Type: Improvement
Components: tests
Affects Versions: 3.4.4
Environment: Linux, RHEL 6.3, IBM Java 6 SR 11
Reporter: Paulo Ricardo Paz Vital
Fix For: 3.4.4
The org.apache.zookeeper.test.QuorumBase class imports 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 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira