Fixed JDK 1.3 support