Backport fix https://github.com/beanvalidation/beanvalidation-tck/commit/8da51bfb1e49b7c47b1cb3b1ecde434f827129d7 to BV 1.0 TCK