JAF moved out of the JDK to its own library, which should be included as explicit dependency, so this library works with Java9+.