It seems that the impl differs in Oracle JDK 8 and Oracle JDK 9. We should either modify Probe to build annotation string representation (regardless of JDK version/impl) instead of using Annotation.toString() or modify the test.