Releases: raphw/byte-buddy
Releases · raphw/byte-buddy
Byte Buddy 1.8.15
- Add preliminary support for Java 12.
Byte Buddy 1.8.14
- Query explicitly added class loaders before the instrumented class's class loader in advice transformer for an agent builder.
- Add nullcheck for
Instrumentation::getAllLoadedClasses. - Allow for access controller-based lookups for
Methodconstants. - Use
getMethodinstead ofgetDeclaredMethodfor method lookup if possible.
Byte Buddy 1.8.13
- Update to ASM 6.2
- Reinstate support for latest Java 11 EA if
net.bytebuddy.experimentalis set. - Fix edge completion for
AgentBuilder. - Dump input class file if the
net.bytebuddy.dumpis set. - Add convenice chaining methods to
Implementation.Compound. - Fix nestmate changes in method invocation.
Byte Buddy 1.8.12
- Fix misrepresentation of default package as
null. - Add
Advice.Exitannotation and allow for method repetition based on exit advice value. - Add
Advice.Localannotation to allow for stack allocation of additional variables. - Improve advice's method size handler.
Byte Buddy 1.8.11
- Avoid shading unused ASM classes with incomplete links what breaks lint on Android and JPMS module generation.
Byte Buddy 1.8.10
- Extended support for self-attachment by using current jar file for Java 9+.
- Minor performance improvements.
Byte Buddy 1.8.9
- Several performance improvements.
- Adjust
toStringimplementation for parameterized types to the changed OpenJDK 8+ behavior.
Byte Buddy 1.8.8
- Use cache for loaded
TypeDescriptionto avoid overallocation. - Generalize exception handler API for
Advice.
Byte Buddy 1.8.7
- Added
ClassWriterStrategythat allows controlling how the constant pool is copied.
Byte Buddy 1.8.6
- Introduced concept of sealing the
InjectionClassLoaderto avoid abuse. - Avoid class loader leak by not storing exceptions thrown in class initializers which can keep references to their first loading class in their backtrace.
- Add
ClassFileBufferStrategyto agent builder. - Retain deprecation modifier on intercepted methods and fields on class files prior to Java 5.