Skip to content

Use Provided ContextSource in PoolingContextSource Constructor - #1569

Merged
jzheaux merged 1 commit into
spring-projects:mainfrom
MacAlsandair:fix/gh-1545-pooling-contextsource-ignored
Aug 27, 2026
Merged

Use Provided ContextSource in PoolingContextSource Constructor#1569
jzheaux merged 1 commit into
spring-projects:mainfrom
MacAlsandair:fix/gh-1545-pooling-contextsource-ignored

Conversation

@MacAlsandair

Copy link
Copy Markdown
Contributor

The ContextSource constructor argument was ignored and a NullContextSource was passed to the pool factory instead, so borrowing a context always failed.

Closes gh-1545

@jzheaux jzheaux self-assigned this Aug 26, 2026
@jzheaux jzheaux added type: bug A general bug in: core labels Aug 26, 2026
@jzheaux jzheaux added this to the 4.2.0-M1 milestone Aug 26, 2026
The ContextSource constructor argument was ignored and a NullContextSource
was passed to the pool factory instead, so borrowing a context always failed.

Closes spring-projectsgh-1545

Signed-off-by: Alexander Makarov <alexander.makarov@nightsong.li>
@jzheaux
jzheaux force-pushed the fix/gh-1545-pooling-contextsource-ignored branch from ddaac27 to ebb420d Compare August 26, 2026 23:43
@jzheaux
jzheaux merged commit ba32373 into spring-projects:main Aug 27, 2026
5 checks passed
@jzheaux

jzheaux commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

Good catch, @MacAlsandair! This is now merged into main.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Constructor of PoolingContextSource ignores given contextSource

2 participants