Skip to content

Issue with HandlerMethod#createWithResolvedBean after bean destruction #36612

@jnd77

Description

@jnd77

Bug Report

Following this commit 6162d89, my application does not behave as expected after destroying the bean.

Instead of recreating a new bean and a new HandlerMethod, the cached value resolvedBeanHandlerMethod with the old bean is returned.

Enhancements request

DefaultSingletonBeanRegistry#destroySingleton() should reset this cached value.

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: regressionA bug that is also a regression

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions