[build] remove extended tests of main for jdk6 and jdk8