Releases: raphw/byte-buddy
Releases · raphw/byte-buddy
Byte Buddy 1.4.10
- Fixed resolution of modifiers and local type properties from a default type pool.
- Improved key for caching
TypeLocatorto share a key for the system and bootstrap class loader.
Byte Buddy 1.4.9
- Added additional implementations of a
DescriptionStrategyforPOOL_LASTandPOOL_FIRSTresolution.
Byte Buddy 1.4.8
- Allow to skip execution of instrumented method from
Advicevia entry advice indicated by return value. - Added API to transform predefined type variables on a dynamic type.
- Refactored
TransformerAPI to be shared for methods, fields and type variables. - Allow to spread
Advicemethods over multiple classes. - Added convenience methods to
AsmVisitorWrappers for declared fields and methods. - Performance improvements in
Adviceclass for byte code parsing.
Byte Buddy 1.4.7
- Added default
TypePoolthat allows for lazy resolution of referenced types. This can both be a performance improvement and allows working with optional types as long as they are not directly required within a transformation. This type pool is now used by default. - Make interfaces public by default when creating them via
ByteBuddy::makeInterface. - Added
TypeResolutionStrategyto allow for active resolution via theNexusalso from outside theAgentBuilder. - Make best effort from a
ClassLoadingStrategyto not resolve types during loading. - Added convenience method for loading a dynamic type with an implicit
ClassLoadingStrategy.
Byte Buddy 1.4.6
- Added a
ClassFileLocatorfor a class loader that only references it weakly. - Allow to supply
TypePoolandClassFileLocatorseperatly from anAgentBuilder. - Made
MethodPoolsensitive to bridge methods which should only be added to classes of a version older than Java 4. - Fixed creation of Java 9 aware
ClassFileTransformerto only apply on Java 9 VMs. - Added matcher for the type of a class loader.
- Fixed name resolution of anonymously-loaded types.
Byte Buddy 1.4.5
- Added
InstallationStrategytoAgentBuilderthat allows customization of error handling. - Added chunked redefinition and retransformation strategies.
Byte Buddy 1.4.4
- Added
net.bytebuddyqualifier when logging. - Added
net.bytebuddy.dumpsystem property for specifing a location for writing all created class files.
Byte Buddy 1.4.3
- Fixed bug in
MultipleParentClassLoaderwhere class loaders were no longer filtered properly. - Added support for major.minor version 53 (Java 9).
- Made
DescriptionStrategycustomizable.
Byte Buddy 1.4.2
- Changed storage order of return values in
Advicemethods to avoid polluting the local variable array when dealing with nested exception handlers. - Added caching
ElementMatcheras a wrapping matcher. - Exclude Byte Buddy types by default from an
AgentBuilder. - Added
DescriptionStrategythat allows not using reflection in case that a class references non-available classes.
Byte Buddy 1.4.1
- Fixed validation by
MethodCallinstrumentation for number of arguments provided to a method. - Added further support for module system.
- Allow automatic adding of read-edges to specified classes/modules when instrumenting module classes.
- Implicitly skip methods without byte code from advice component.