update compatibility with java 1.3