support java 1.5