-
Notifications
You must be signed in to change notification settings - Fork 40
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
Going to jdk 17 21 #124
Going to jdk 17 21 #124
Conversation
…tion in order to make debugging easier.
…eneration due to type mismatch.
Remaining Issue (1): A
B
C
|
Remaining Issue (2):
|
Remaining Issue (3):
|
… method. Also, make pom.xml use JDK 11 for compilation and testing since it seems working with JDK21 project.
I reverted a few changes in pom.xml since the JDK11 compiled version may work with JDK17 and JDK21. |
If you prefer, mark the PR as a draft while still making changes. And thanks a lot for the effort. |
I believe the compiled binary by JDK11 works under JDK21. This is generated for this repo: https://github.com/dakusui/doclet-exercise |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, the only important thing is fixing the docType
configuration.
It's great you could make it work on Java 11 too, less branches and releases then 🎉
Thanks again a lot!
src/main/java/org/asciidoctor/asciidoclet/LazyDocCommentTableProcessor.java
Outdated
Show resolved
Hide resolved
src/main/java/org/asciidoctor/asciidoclet/LazyDocCommentTableProcessor.java
Show resolved
Hide resolved
src/main/java/org/asciidoctor/asciidoclet/AsciidoctorConverter.java
Outdated
Show resolved
Hide resolved
@dakusui About the other comments you mentioned:
It's OK: this warning is normal because AsciidoctoJ does not define Java module. This should be fixed upstream.
Its OK.
I see you saw the issues 👏 . The code was still using methods labeled as Remaining Issue (2): I don't see it in the current commit, Contratulations on fixing it! 🎉 Remaining Issue (3):
Don't worry, this can be addressed separately #120. |
Performance improvement of "processComment" in LazyDocCommentTableProcessor.
My end-to-end test on Java 21 is generating a weird header. Do you see the same? If you prefer we can merge as Java 17 works fine and work on java 21 in another PR. The build works fine, I assume it's a styles thing 🤞 EDIT: Looking a how javadocs are build for the Adding the lines below the
|
This is a pull request for your information.
So far, I made sure that this works with Java17 and Java21.
The rendered JavaDoc by the modified AsciiDoclet with Java 21 is found here.
https://dakusui.github.io/asciidoclet-2/
I am now removing unnecessary changes from the PR for your convenience.