Skip to content

The static field ClassUtil.sCached can cause a class loader leak #1363

@stuartwdouglas

Description

@stuartwdouglas

The static field ClassUtil.sCached was added in 2.7 as a performance optimization, however as it can hold on to classes in a static field this can cause a class loader leak in application servers where databind is provided as part of the app server and not bundled in the deployment.

e.g.: https://issues.jboss.org/browse/WFLY-7037

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