Fix build with JDK 8
Fix build with JDK 8

multi-os-engine/moe-core,multi-os-engine/moe-core,multi-os-engine/moe-core,multi-os-engine/moe-core,multi-os-engine/moe-core,multi-os-engine/moe-core,multi-os-engine/moe-core