supporting jdk 7