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

Filter out JVM mapped methods #3694

Merged
merged 5 commits into from
Aug 26, 2024

Conversation

vmishenev
Copy link
Member

@vmishenev vmishenev commented Jul 16, 2024

This is a short-term solution for #3542
The good news is that the generated documentation does not depend on a version of the JDK anymore


// this "grey" list does not exist in the compiler explicitly
// this was made manually
private val NOT_CONSIDER_METHOD_SIGNATURES: Set<String> = inJavaUtil(
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be unreliable in the case of a new method in JVM.

@vmishenev vmishenev marked this pull request as ready for review August 12, 2024 15:46
@whyoleg
Copy link
Collaborator

whyoleg commented Aug 13, 2024

FYI, integrations tests failed on TC.
Also, I've started thorough tests, as we could have here JDK dependent behaviour: https://github.com/Kotlin/dokka/actions/runs/10365633274

Also, it would be really nice to check the difference (and correctness) of produced HTML before and after this PR on kotlin-stdlib and https://github.com/Kotlin/kotlinx.collections.immutable before merging this PR

@vmishenev vmishenev force-pushed the vmishenev/3542-filter-out-jvm-mapped-methods branch from e9393b0 to 35423fb Compare August 13, 2024 11:55
@vmishenev
Copy link
Member Author

FYI, integrations tests failed on TC.

It was due to uishowcase. I have rebased on master.

Copy link
Collaborator

@whyoleg whyoleg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine.

Would be really nice to know how it affects stdlib and immutable collections before merging.

@vmishenev vmishenev force-pushed the vmishenev/3542-filter-out-jvm-mapped-methods branch 2 times, most recently from b4f968e to 53363f7 Compare August 16, 2024 15:16
@vmishenev vmishenev force-pushed the vmishenev/3542-filter-out-jvm-mapped-methods branch from ffdc045 to f7d7964 Compare August 23, 2024 14:25
@vmishenev
Copy link
Member Author

I have checked the PR on stdlib. Also, @ilya-g has approved the diff.
We can test immutable collections together with other changes later before a release.

@vmishenev vmishenev merged commit e5cd838 into master Aug 26, 2024
9 of 14 checks passed
@vmishenev vmishenev deleted the vmishenev/3542-filter-out-jvm-mapped-methods branch August 26, 2024 13:50
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.

None yet

3 participants