Skip to content

Add missing null check in ApplicationContextAssertProvider#50456

Open
scordio wants to merge 1 commit into
spring-projects:3.5.xfrom
scordio:missing-null-check
Open

Add missing null check in ApplicationContextAssertProvider#50456
scordio wants to merge 1 commit into
spring-projects:3.5.xfrom
scordio:missing-null-check

Conversation

@scordio
Copy link
Copy Markdown
Contributor

@scordio scordio commented May 17, 2026

While working on a solution for what I mentioned at #40134 (comment), I noticed inconsistencies in the ApplicationContextAssertProviderTests method names, which led me to spot what I believe is a missing null check for contextSupplier in ApplicationContextAssertProvider.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label May 17, 2026
@scordio scordio force-pushed the missing-null-check branch from 11b4b6f to 6a58832 Compare May 17, 2026 14:46
@philwebb philwebb changed the title Add missing null check in ApplicationContextAssertProvider Add missing null check in ApplicationContextAssertProvider May 18, 2026
@philwebb philwebb added type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged labels May 18, 2026
@philwebb philwebb added this to the 3.5.x milestone May 18, 2026
@scordio
Copy link
Copy Markdown
Contributor Author

scordio commented May 18, 2026

@philwebb would you like me to rebase this PR onto the 3.5.x branch?

Signed-off-by: Stefano Cordio <stefano.cordio@gmail.com>
@scordio scordio force-pushed the missing-null-check branch from 6a58832 to 8453c99 Compare May 18, 2026 15:52
@scordio scordio changed the base branch from main to 3.5.x May 18, 2026 15:52
@scordio
Copy link
Copy Markdown
Contributor Author

scordio commented May 18, 2026

@philwebb would you like me to rebase this PR onto the 3.5.x branch?

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: task A general task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants