We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Affects: springframework-5.3.5; spring web 5.3.5; spring boot 2.4.4
demo:
@SpringBootApplication public class ResourcebugApplication { public static void main(String[] args) { ConfigurableApplicationContext context = SpringApplication.run(ResourcebugApplication.class, args); Resource notExistsResource = context.getResource("com/example/resourcebug/NotExists.java"); System.out.println("notExistsResource is file: " + notExistsResource.isFile()); } }
output: notExistsResource is file: true
expected output: notExistsResource is file: false
The text was updated successfully, but these errors were encountered:
is this issue associated with #26702
Sorry, something went wrong.
Polish
9465110
See gh-26707
b71e686
bclozel
No branches or pull requests
Affects: springframework-5.3.5; spring web 5.3.5; spring boot 2.4.4
demo:
output:
notExistsResource is file: true
expected output:
notExistsResource is file: false
The text was updated successfully, but these errors were encountered: