Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Resolve #1168 by way of a makeshift, in absence of better isolation of the ksp environment. #1284

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cgruber
Copy link
Collaborator

@cgruber cgruber commented Mar 14, 2025

Guava is used in a lot of different environments. This causes classloader problems at times, in that parts of guava get loaded early, but other parts are loaded late, in other classloaders, and you end up with conflicts around the boundary.

In #1168 @xinzhengzhang suggested a fix (implemented here) to preload guava, so it is fully loaded and can be resolved without crossing classloader boundaries.

While better classloader isolation is preferable, this at least unblocks folks while a more robust isolation scheme is explored.

@cgruber cgruber force-pushed the fix_1168 branch 2 times, most recently from e34440b to f5a2c98 Compare March 14, 2025 19:41
…Moves to the more recent 3.x version of the protobuf APIs, and uses the non-deprecated print system.
@cgruber
Copy link
Collaborator Author

cgruber commented Mar 17, 2025

Note - this makeshift isn't working, regrettably. It may require a full fix to the isolation. (I'm also talking to the Dagger project about better isolation of their deps via shading - the dagger-compiler should be shaded, so I'm not sure what's up there).

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants