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: Build with GRPC KSP processing fails #10811

Merged
merged 2 commits into from May 13, 2024
Merged

fix: Build with GRPC KSP processing fails #10811

merged 2 commits into from May 13, 2024

Conversation

timyates
Copy link
Member

@timyates timyates commented May 9, 2024

They bytecode for GeneratedMessageV3 from protobuf-java caused our Ksp processor to choke

Here I have reproduced the issue (for kotlin) with the same in java to show it working

We have a guard in AbstractJavaElement which was missing from the Ksp equivalent and caused us to fall off the end of a list (when indexed by a separate list)

Fixes #10647

@timyates timyates added type: bug Something isn't working lang: kotlin Issues or features specific to Kotlin labels May 9, 2024
@timyates timyates self-assigned this May 9, 2024
@timyates timyates linked an issue May 9, 2024 that may be closed by this pull request
Copy link

sonarcloud bot commented May 9, 2024

@sdelamo sdelamo merged commit 8a365a9 into 4.4.x May 13, 2024
17 checks passed
@sdelamo sdelamo deleted the fix-ksp-for-protobuf branch May 13, 2024 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang: kotlin Issues or features specific to Kotlin type: bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Build with GRPC KSP processing fails
3 participants