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

ijar Kotlin handling #15355

Closed

Conversation

fmeum
Copy link
Collaborator

@fmeum fmeum commented Apr 27, 2022

Remove unused handling of the KeepForCompile attribute, and instead check for
the @kotlin.Metadata annotation and preserve all Kotlin classes.

#4549

RELNOTES: Make ijar / java_import preserve classes with @kotlin.Metadata annotations
PiperOrigin-RevId: 441243993

Remove unused handling of the `KeepForCompile` attribute, and instead check for
the `@kotlin.Metadata` annotation and preserve all Kotlin classes.

bazelbuild#4549

RELNOTES: Make ijar / java_import preserve classes with `@kotlin.Metadata` annotations
PiperOrigin-RevId: 441243993
@fmeum fmeum requested a review from ckolli5 as a code owner April 27, 2022 08:28
@fmeum
Copy link
Collaborator Author

fmeum commented Apr 27, 2022

@cpsauer FYI

@fmeum
Copy link
Collaborator Author

fmeum commented Apr 27, 2022

@ckolli5 I have hit this seemingly unrelated CI failure (test_remote_grpc_via_unix_socket_proxy) with multiple cherry-picks now. Do you have an idea what could cause it? Retries didn't help.

@sgowroji sgowroji added awaiting-user-response Awaiting a response from the author team-Rules-Java Issues for Java rules labels Apr 28, 2022
@cpsauer
Copy link
Contributor

cpsauer commented May 5, 2022

Thanks for the heads, @fmeum! I'll update a couple of other issues, downstream :)

@comius
Copy link
Contributor

comius commented May 5, 2022

Driveby comment. Ijar is released with java_tools. Cherry-picking just ijar, won't make a difference - except maybe for book-keeping. java_tools version should be updated.

cc @hvadehra

bazelbuild/java_tools#55

@fmeum
Copy link
Collaborator Author

fmeum commented May 5, 2022

Thanks for the comment, looks like this already got into 5.2.0 with bbcff18 then.

@fmeum fmeum closed this May 5, 2022
@fmeum fmeum deleted the release-5.2.0-kotlin-ijar branch May 5, 2022 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-user-response Awaiting a response from the author team-Rules-Java Issues for Java rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants