Skip to content

ClassUtils.getUserClass should support ByteBuddy-generated proxies (e.g. from Hibernate 5.3) [SPR-16569] #21111

Closed
@spring-projects-issues

Description

@spring-projects-issues

Jens Schauder opened SPR-16569 and commented

Regarding the test failure for the latest Hibernate Snapshots (5.3.0-SNAPSHOT):
Hibernate seems to have changed the way class names get generated for their proxies. This causes ClassUtils.getUserClass to fail to detect it as a proxy because the class name does not contain a $$. This breaks the AbstractPersistable.equals method, triggering a test failure for AbstractPersistableIntegrationTests.


Issue Links:

1 votes, 10 watchers

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions