Java 17 plugin conversion

Has anyone else encountered the Javadoc error when converting a Java 11 plugin to Java17.
When running any build command using Java17 it spits out a Javadoc error as there was a major change in the javadoc jar with classes being removed from Java13 onwards.