[MODCLUSTER-358] demo does not compile on JDK6