change: 兼容JDK6

Signed-off-by: wendal <wendal1985@gmail.com>