Fixed OpenJDK6 compilation error