Skip to content
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

Fix enum test, add toolchains and running on JDK 21 #3376

Merged
merged 1 commit into from
Dec 1, 2023
Merged

Conversation

whyoleg
Copy link
Collaborator

@whyoleg whyoleg commented Nov 24, 2023

After merging PR #3349 to master, enum test failed on JDK 17: https://github.com/Kotlin/dokka/actions/runs/6983352619/job/19004323879#step:6:362

Cause: in JDK 12 one new method was added to Enum class - https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Enum.html#describeConstable()

Also checked on JDK 21 - one more failure, now because of deprecation for removal of finalize in JDK 18 - https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/Enum.html#finalize()

Added running tests for JDK 21 on CI + gradle toolchain auto-resolve - https://docs.gradle.org/current/userguide/toolchains.html#sub:download_repositories - it's hard to extract it into version catalog as it's applied in settings.gradle.kts....

@whyoleg whyoleg self-assigned this Nov 24, 2023
@whyoleg
Copy link
Collaborator Author

whyoleg commented Nov 24, 2023

Started thorough workflow on CI: https://github.com/Kotlin/dokka/actions/runs/6984087458

@whyoleg whyoleg merged commit bb036a3 into master Dec 1, 2023
21 checks passed
@whyoleg whyoleg deleted the jdk-fix branch December 1, 2023 05:46
@IgnatBeresnev IgnatBeresnev added this to the Dokka 1.9.20 milestone Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants