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

WELD-2796 For built-in beans, the proxy's originalClass should be the implemented type #3037

Closed
wants to merge 1 commit into from

Conversation

manovotn
Copy link
Contributor

@manovotn manovotn commented Aug 21, 2024

This will affect the behavior in WFLY where we retrieve a module based on the original class, see https://github.com/wildfly/wildfly/blob/main/weld/subsystem/src/main/java/org/jboss/as/weld/services/bootstrap/ProxyServicesImpl.java#L187

In case of ServletContextBeanTest, one can observe that with this change we would now place the proxy into user deployment instead of into Weld module. As a result, such proxy cannot be reused in another deployments and repeated test executions on a running WFLY instance will trigger repeated proxy creations.

@manovotn
Copy link
Contributor Author

Closing in favor of #3038 and #3039 after further discussion on the issue.

@manovotn manovotn closed this Aug 26, 2024
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