java 1.6 compat issue