ScaCap / spring-auto-restdocs

Spring Auto REST Docs is an extension to Spring REST Docs
https://scacap.github.io/spring-auto-restdocs/
Apache License 2.0
310 stars 86 forks source link

Latest JDK Support (Java 17 and above ) for the issue [WARNING] javadoc: warning - The old Doclet and Taglet APIs in the packages #465

Closed karthikeyan1805 closed 9 months ago

karthikeyan1805 commented 2 years ago

Getting this warring when i run the build using Java11. To support Java 17 and above, need to migrate to the new jdk.javadoc.doclet API. Btw doc build fails when we use java17.

Warring Message:

[WARNING] Javadoc Warnings
[WARNING] javadoc: warning - The old Doclet and Taglet APIs in the packages
[WARNING] com.sun.javadoc, com.sun.tools.doclets and their implementations
[WARNING] are planned to be removed in a future JDK release. These
[WARNING] components have been superseded by the new APIs in jdk.javadoc.doclet.
[WARNING] Users are strongly recommended to migrate to the new APIs.
[WARNING] warning: unknown enum constant When.MAYBE
[WARNING] reason: class file for javax.annotation.meta.When not found