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

Register runtime hints for TestContext framework classes #29028

Closed
10 tasks done
sbrannen opened this issue Aug 26, 2022 · 0 comments
Closed
10 tasks done

Register runtime hints for TestContext framework classes #29028

sbrannen opened this issue Aug 26, 2022 · 0 comments
Assignees
Labels
in: test Issues in the test module theme: aot An issue related to Ahead-of-time processing type: enhancement A general enhancement
Milestone

Comments

@sbrannen
Copy link
Member

sbrannen commented Aug 26, 2022

The following are loaded via reflection.

  • org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate
  • org.springframework.test.context.support.DefaultBootstrapContext
  • org.springframework.test.context.support.DefaultTestContextBootstrapper
  • org.springframework.test.context.support.DelegatingSmartContextLoader
  • org.springframework.test.context.support.GenericGroovyXmlContextLoader
  • org.springframework.test.context.web.GenericGroovyXmlWebContextLoader
  • org.springframework.test.context.web.WebAppConfiguration
  • org.springframework.test.context.web.WebDelegatingSmartContextLoader
  • org.springframework.test.context.web.WebTestContextBootstrapper
  • org.springframework.test.context.web.socket.MockServerContainerContextCustomizer
@sbrannen sbrannen added in: test Issues in the test module type: enhancement A general enhancement theme: aot An issue related to Ahead-of-time processing labels Aug 26, 2022
@sbrannen sbrannen added this to the 6.0.0-M6 milestone Aug 26, 2022
@sbrannen sbrannen self-assigned this Aug 26, 2022
sbrannen added a commit to sbrannen/spring-framework that referenced this issue Aug 28, 2022
Since MockServerContainerContextCustomizerFactory already has a
`webSocketPresent` check, there should be no need to instantiate
MockServerContainerContextCustomizer via reflection.

See spring-projectsgh-29028
Closes spring-projectsgh-29035
@sbrannen sbrannen changed the title Register runtime hints for TestContext framework internals Register runtime hints for TestContext framework classes Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: test Issues in the test module theme: aot An issue related to Ahead-of-time processing type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant