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

Log warning and skip resource hint registration for classpath location patterns #31429

Closed
sbrannen opened this issue Oct 14, 2023 · 0 comments
Closed
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) in: test Issues in the test module type: enhancement A general enhancement
Milestone

Comments

@sbrannen
Copy link
Member

sbrannen commented Oct 14, 2023

Overview

Since we do not yet have support for registering resource hints for classpath location patterns (see #31162), we have decided to explicitly skip such resources and log a warning to inform the user that they need to manually supply resource hints for the exact resources needed by their application.

Specifically, this should be applied to resource hint registration for @PropertySource and @TestPropertySource; however, it may need to be applied in other scenarios as well.

Related Issues

@sbrannen sbrannen added in: test Issues in the test module in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement labels Oct 14, 2023
@sbrannen sbrannen added this to the 6.1.0-RC2 milestone Oct 14, 2023
@sbrannen sbrannen assigned sbrannen and unassigned jhoeller Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) in: test Issues in the test module type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants