Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1570

Allow QuorumBase.java build with IBM Java

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 3.4.4
    • 3.4.4
    • tests
    • Linux, RHEL 6.3, IBM Java 6 SR 11

    Description

      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.

      Attachments

        1. zookeeper-1570.patch
          2 kB
          Paulo Ricardo Paz Vital

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pvital Paulo Ricardo Paz Vital
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: