GSMPhone: fix error on jdk7