[
https://issues.apache.org/jira/browse/ZOOKEEPER-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13528886#comment-13528886
]
Hudson commented on ZOOKEEPER-1564:
-----------------------------------
Integrated in ZooKeeper-trunk #1769 (See
[https://builds.apache.org/job/ZooKeeper-trunk/1769/])
ZOOKEEPER-1564. Allow JUnit test build with IBM Java (Paulo Ricardo Paz
Vital via phunt) (Revision 1420021)
Result = SUCCESS
phunt : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1420021
Files :
* /zookeeper/trunk/CHANGES.txt
* /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/ClientBase.java
* /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/ClientTest.java
* /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/QuorumBase.java
* /zookeeper/trunk/src/java/test/org/apache/zookeeper/test/QuorumUtil.java
> Allow JUnit test build with IBM Java
> ------------------------------------
>
> Key: ZOOKEEPER-1564
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1564
> Project: ZooKeeper
> Issue Type: Improvement
> Components: tests
> Affects Versions: 3.4.4, 3.5.0, 3.4.5
> Environment: Linux, RHEL 6.3, IBM Java 6 SR 11
> Reporter: Paulo Ricardo Paz Vital
> Assignee: Paulo Ricardo Paz Vital
> Labels: test
> Fix For: 3.5.0, 3.4.6
>
> Attachments: zookeeper-1564.patch, ZOOKEEPER-1564-v2.patch,
> ZOOKEEPER-1564-v3.patch
>
>
> 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.
--
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