Skip to content

Inconsistent hint registration for CGLIB configuration classes #29358

@snicoll

Description

@snicoll

When a CGLIB configuration class is processed, we switch the executable to be on the proxy, rather on the user class. However, the bean definition, and the defined executable is on the user class. This inconsistency leads to a problem in a native image as the relevant hint is registered on the proxy, but the code actually uses the user class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)theme: aotAn issue related to Ahead-of-time processingtype: bugA general bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions