Byte Buddy v1.6.0 Release Notes

Release Date: 2017-01-01 // about 7 years ago
    • โž• Added InjectingClassLoader with class loading strategy that allows for reflection-free loading.
    • โž• Added proper class loader locking to injection strategy.
    • Fixed method lookup to not use declared accessors unless necessary to avoid security manager check.
    • โž• Added @SuperMethod and @DefaultMethod annotations for MethodDelegation.
    • ๐Ÿ”จ Refactored AsmVisitorWrapper to accept a list of fields and methods that are intercepted. This allows to use the wrapper also for methods that are overridden.
    • โž• Added a MethodGraph.Compiler.ForDeclaredMethods to avoid processing full type hierarchy if only type enhancement should be done without declaring new methods on a type. This should be used in combination with Advice instead of MethodGraph.Empty as those methods are supplied to the ASM visitor wrappers.
    • ๐Ÿ”จ Refactored MethodDelegation to precompile records for all candidates to avoid duplicate annotation processing.