Skip to content

Spring CGLIB proxies not handled as intended #674

@zolyfarkas

Description

@zolyfarkas

in BeanUtil.isCglibGetCallbacks

the callbacks is not detected because spring repackages cglib: org.springframework.cglib....

changing:

        if (pname.startsWith("net.sf.cglib")
            // also, as per [JACKSON-177]
            || pname.startsWith("org.hibernate.repackage.cglib")) {
            return true;
        }

to:

        if (pname.contains("cglib") // also, as per [JACKSON-177]
                ) {
            return true;
        }

would work, with the disadvantage or other cglib name usages....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions