You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Jake Farrell (JIRA)" <ji...@apache.org> on 2013/10/31 17:23:23 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=13810404#comment-13810404 ] 

Jake Farrell commented on ZOOKEEPER-1579:
-----------------------------------------

just closed INFRA-6706 add IBM jdk 1.7,  IBM 1.7 64-bit (on Ubuntu only) now available 

/home/jenkins/tools/java/ibm-1.7-64/bin/java -version 
java version "1.7.0" 
Java(TM) SE Runtime Environment (build pxa6470sr5-20130619_01(SR5)) 
IBM J9 VM (build 2.6, JRE 1.7.0 Linux amd64-64 Compressed References 20130617_152572 (JIT enabled, AOT enabled) 
J9VM - R26_Java726_SR5_20130617_1436_B152572 
JIT - r11.b04_20130528_38954ifx1 
GC - R26_Java726_SR5_20130617_1436_B152572_CMPRSS 
J9CL - 20130617_152572) 
JCL - 20130616_01 based on Oracle 7u25-b12

> 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 was sent by Atlassian JIRA
(v6.1#6144)