Fix java 7 stack map issue