annotations fix

It fixes TestLibTest and JdkAnnotationsValidityTest errors.