Andrew Kornev commented on ZOOKEEPER-81:

Long story short -- MXBean is a runtime dependency. Some internal machinery for 
handling user defined MXBeans is missing in Java 5. For details please refer to 
http://java.sun.com/javase/6/docs/technotes/guides/jmx/enhancements.html. The 
second bullet on the top says:

??MXBeans have been added. MXBeans are MBeans that provide a convenient way to 
bundle related values together without requiring clients to be specially 
configured to handle the bundles. A defined set of MXBeans already existed in 
the J2SE 5.0 platform, but Java SE 6 introduces an API to allow you to program 
your own custom MXBeans.??

Although there is absolutely nothing wrong with your patch, would you be 
terribly disappointed if I leave the things the way they are and simply close 
this jira as "won't fix"? :-)

> JMX module is using 1 java 6 method that has a java 5 equivalent
> ----------------------------------------------------------------
>                 Key: ZOOKEEPER-81
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-81
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: server
>            Reporter: Hiram Chirino
>            Assignee: Andrew Kornev
>         Attachments: ZOOKEEPER-81.patch
> It would be nice if the jmx module compiled and ran on java 5 too.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to