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

Make access to the class loader for Develocity types CC-compatible #61

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

pshevche
Copy link
Member

No description provided.

@pshevche pshevche self-assigned this Aug 27, 2024
@pshevche pshevche requested review from a team August 27, 2024 07:49
@@ -29,16 +29,19 @@ private static <T> T newProxyInstance(Class<T> targetInterface, InvocationHandle
private static final class ProxyingInvocationHandler implements InvocationHandler {

private final Object target;
private final ClassLoader develocityTypesClassLoader;
Copy link
Member Author

Choose a reason for hiding this comment

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

💬 Storing the reference to the class loader is not CC-compatible.

Copy link
Member

@pbielicki pbielicki left a comment

Choose a reason for hiding this comment

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

lgtm

@pshevche pshevche merged commit e9c76e3 into main Aug 27, 2024
4 checks passed
@pshevche pshevche deleted the pshevche/make-proxy-cc-compatible branch August 27, 2024 08:51
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