test generic in jdk5