ISPN-4494 OSGi tests fail on jdk8

Disable the OSGi tests when running on jdk8 and jdk9.