add test case for jdk bug (requires jdk8u26+)