update for JDK1.5