Java 6 compatibility for monitoring-client