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

Deprecation: replace Proxy.getProxyClass #268

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

WolfgangHG
Copy link
Contributor

This is the final warning from #218: Proxy.getProxyClass is deprecated.

I followed the suggestions from the deprecation comment and replaced it with Proxy.newProxyInstance.

As often, I have no idea whether this is reasonable ;-). The test suite works. The test org.jboss.arquillian.warp.impl.shared.TestExecutedMethod tests this piece of code, and it still works.

@WolfgangHG
Copy link
Contributor Author

I am not sure whether "AnnotationInvocationHandler" and "AnnotationInstanceProvider" are actually used besides this one test. But the latter is a public class, so it might be used outside.

@rhusar rhusar self-requested a review November 15, 2024 15:13
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.

1 participant