Skip to main content
cglib
Overall Score
2.6

Overview

cglib (Code Generation Library) is a high‑level Java API that enables developers to generate and transform bytecode at runtime, making it easy to create dynamic proxy objects and intercept field access. It is widely employed by AOP frameworks, testing tools, and data‑access libraries to provide lightweight, on‑the‑fly class enhancements without requiring source code changes. Although powerful, cglib is currently unmaintained and may not function correctly on newer JDKs (especially JDK 17+), so projects targeting modern runtimes often consider alternatives like ByteBuddy. The library is distributed as cglib-*.jar (core classes only, requiring an external ASM dependency) or cglib-nodep-*.jar (bundled with renamed ASM classes for a self‑contained package).

User Feedback


Rate the Costs fields
12345
12345
12345
12345
12345
12345
12345