Only test osgi with annotations in jdk < 1.8