Support JDK 7