Don't run partests on JDK6.

Scalac in 2.11.x is unable to compile partest on Oracle JDK6. We
therefore do not run any partests. This closes #1227.