You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2012/12/11 09:09:22 UTC

[jira] [Commented] (ZOOKEEPER-1579) Compile error of UnixOperationSystemMXBean with open JDK

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13528788#comment-13528788 ] 

Patrick Hunt commented on ZOOKEEPER-1579:
-----------------------------------------

3.3 branch is pretty much a closed book at this point except for very serious (ie corruption) bugs. Can you check against 3.4 and trunk? afaict it should be a solved issue - I have 3.4 compiling successfully using openjdk on jenkins: https://builds.apache.org//view/S-Z/view/ZooKeeper/
                
> Compile error of UnixOperationSystemMXBean with open JDK
> --------------------------------------------------------
>
>                 Key: ZOOKEEPER-1579
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1579
>             Project: ZooKeeper
>          Issue Type: Bug
>    Affects Versions: 3.3.4, 3.4.3
>            Reporter: Li Ping Zhang
>            Assignee: Li Ping Zhang
>              Labels: patch
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> zookeeper invokes getOpenFileDescriptorCount() function in  com.sun.management.UnixOperatingSystemMXBean, which only exists in SUN JDK, and open JDK did not implement this function.
>     [javac] /root/zookeeper-3.3.4/src/java/test/org/apache/zookeeper/test/ClientBase.java:57: package com.sun.management does not exist
>     [javac] import com.sun.management.UnixOperatingSystemMXBean;
>     [javac]                          ^
>     [javac] /root/zookeeper-3.3.4/src/java/test/org/apache/zookeeper/test/QuorumBase.java:39: package com.sun.management does not exist
>     [javac] import com.sun.management.UnixOperatingSystemMXBean;
>     [javac]                          ^
>     [javac] /root/zookeeper-3.3.4/src/java/test/org/apache/zookeeper/test/ClientTest.java:48: package com.sun.management does not exist
>     [javac] import com.sun.management.UnixOperatingSystemMXBean;
>     [javac]                          ^
>     [javac] /root/zookeeper-3.3.4/src/java/test/org/apache/zookeeper/test/QuorumUtil.java:39: package com.sun.management does not exist
>     [javac] import com.sun.management.UnixOperatingSystemMXBean;

--
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