fix jdk6 build issue in camel-hazelcast test