这是indexloc提供的服务,不要输入任何密码
Skip to content

Releases: raphw/byte-buddy

Byte Buddy 1.6.2

11 Jan 00:32

Choose a tag to compare

  • Removed obsolete toString representations.
  • Start using Lombok for equals/hashCode unless explicit.
  • Add security manager check to Byte Buddy agent.
  • Added asynchronous super type loading strategies.
  • Added resubmitter.
  • Added class injection strategy for Android.
  • Fixed type initializer instrumentation for redefinitions.
  • Added loaded property for listener on agent builder.

Byte Buddy 1.6.1

05 Jan 14:58

Choose a tag to compare

  • Added check to @Pipe for method invokability.
  • Added unsafe ClassInjector and class loading strategy.
  • Improved reflection-based class injector on Java 9.
  • Removed uneccessary class file location using modules on Java 9.
  • Improved fail-safety for type variable resolution to allow processing incorrectly declared type variables.

Byte Buddy 1.6.0

02 Jan 11:45

Choose a tag to compare

  • 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 precomile records for all candidates to avoid duplicate annotation processing.

Byte Buddy 1.5.13

29 Dec 18:26

Choose a tag to compare

  • Updates to ASM 5.2
  • Updates Android DX-maker.
  • Adds API to MultipleParentClassLoader to use other loader than bootstrap loader as a parent which is not always legal, e.g. on Android.
  • Make ClassInjector use official class loading lock if one is available.
  • Make ClassInjector use getDefinedPackage instead of getPackage if available.
  • Declare UNIX socket library as provided in Byte Buddy agent to only add the dependency on demand.

Byte Buddy 1.5.12

27 Dec 14:14

Choose a tag to compare

  • Refactored rebasing of type initializers. Do no longer rebase into static method to pass validation for final static field assignment on Java 9.
  • Added fallback to sun.misc.Unsafe for class definition if reflective access to the protected ClassLoader methods is not available which are required for the injection strategy.
  • Added super-type-loading DescriptorStrategy for agent builder.
  • Added assignment checks for MethodCall for invocation target.

Byte Buddy 1.5.11

20 Dec 13:24

Choose a tag to compare

  • Resolved compound components to linerarize nested collections for vastly improved performance with large structures.
  • Added TypeCache.
  • Added fallback to assign null to SuperCall and DefaultCall if assignment is impossible.
  • Deprecated Forwarding in favor of MethodCall.
  • Fixed matcher for interfaces in type builder DSL.
  • Fixed resolution of field type in MethodCall.

Byte Buddy 1.5.10

16 Dec 15:11

Choose a tag to compare

  • Added possibility for readding types after a failed retransformation batch.
  • Added partitioning batch allocator.

Byte Buddy 1.5.9

13 Dec 18:56

Choose a tag to compare

  • Allow specifying TargetType in Advice.FieldValue.
  • Allow array value explosion in MethodCall.
  • Extended FieldAccessor to allow reading FieldDescriptions directly.
  • Fixed class name resolution in Maven and Gradle plugins.

Byte Buddy 1.5.8

05 Dec 11:49

Choose a tag to compare

  • Added implementation for attachment on Linux and HotSpot using a non-JDK VM.
  • Fixed argument resolution for ByteBuddyAgent.
  • Fixed field resolution for MethodCall to allow custom definition of fields.
  • Fixed visibility checks.
  • Do not override default method for proxies for Pipe.

Byte Buddy 1.5.7

25 Nov 12:02

Choose a tag to compare

  • Fixed type discovery for custom advice annotation bindings.