-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doclet does not work with Java 21 LTS #18
Comments
Thanks for the reminder. The Java 21 release escaped my notice, didn't make it to the "headlines" of my usual sources. I'll have a look into it, most likely next week. |
Also note Java 17+ has some JavaDoc improvements
Also good to know:
|
What breaks it: JDK-17 had this code:
The text from JDK-21 has this code:
Now, the text from
This can only be solved by overwriting methods of the |
It turns out that it's not feasible to overwrite methods of As I see it, there are three ways to go.
I'll postpone this issue. I'll keep my projects Java-17 compliant anyway until the next LTS after Java-21 comes out. Maybe the " |
Ah, i understand. It is a pity. Nevertheless, thanks for the research, much appreciated! |
Couldn't resist the challenge and turned out to be easier than anticipated. |
As explained here #17 (comment), it is "pure luck" if this doclet will work with Java 21.
I can confirm that it has no luck. All generated HTML is escaped (as also reported for Java 20).
It would be great if LTS releases of Java are supported.
The text was updated successfully, but these errors were encountered: