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

Releases: raphw/byte-buddy

Byte Buddy 1.4.20

23 Aug 11:25

Choose a tag to compare

  • Fixed stack size adjustment for accessing double-sized primitive access array elements.
  • Fixed Advice adjustment of local variable index for debugging information (improves Java agent compatibility).
  • Renamed TypeLocator to PoolStrategy to avoid confusion with the names.
  • Removed DescriptionStrategys that rely on fallback-description as those do not properly fallback for meta data.
  • Added FallbackStrategy as a replacement which allows to reattempt a transformation without using loaded type information.

Byte Buddy 1.4.19

14 Aug 22:01

Choose a tag to compare

  • Added @StubValue and @Unused annotations to Advice component.
  • Added possibility to retain line number information for entryAdvice
  • Removed class loader dependency when querying loaded annotation values.
  • Made annotation values more type-safe.

Byte Buddy 1.4.18

08 Aug 23:05

Choose a tag to compare

  • Added automatic support for Java 9 class file location for boot modules.
  • Improvided FieldProxy.Binder to allow for a single accessor interface
  • Fixed counting problem in Advice component.

Byte Buddy 1.4.17

01 Aug 13:09

Choose a tag to compare

  • Fixed annotation resolution for Java 9 to exlude the jdk.internal namespace by default.
  • Do not copy annotations for default constructor strategies but allow configuring annotation strategy.
  • Added file-system class file locators for modules in Java 9.
  • Added convenience methods to default location strategies.
  • Exclude sun.reflect namespace by default from AgentBuilder to avoid error messages.
  • Fixed resolution of type varibales for transformed methods and fields.
  • Fixed stack-aware method visitor when encountering exchanging duplication instructions.

Byte Buddy 1.4.16

28 Jul 01:48

Choose a tag to compare

  • Added POOL_LAST_DEFERRED and POOL_LAST_FALLBACK description strategy.
  • Fixed resolution of bridge methods for diamond inheritance.
  • Refactored modifier API to only expose named modifier checks for an element that apply to it.
  • Fixed resolution for type variables for transformed methods.

Byte Buddy 1.4.15

25 Jul 00:16

Choose a tag to compare

  • Fixed frame generation for void methods without regular return in Advice.
  • Fixed TypeValidation for Java 8 interfaces not allowing private methods.
  • Simplified and documented AccessController usage.

Byte Buddy 1.4.14

21 Jul 08:57

Choose a tag to compare

  • Fixed bug with handling of legacy byte code instructions in Advice component.
  • Cleaned up and refactored usage of AccessController. Added privileged handling to AgentBuilder.
  • Added proper buffering to non-buffered interaction with file streams.
  • Make ByteBuddy creation more robust by adding a default fallback for unknown VMs.
  • Improved support for Java 9.

Byte Buddy 1.4.13

18 Jul 22:28

Choose a tag to compare

  • Lazily compute Implementation.Target and Implementation.Context in case of a type inlining to provide correct feature set. Added validation if this constraint is broken.
  • Make TypePool using an eager TypeDescription more robust towards errors.

Byte Buddy 1.4.12

15 Jul 15:45

Choose a tag to compare

  • Monitor advice code for inconsistent stack heights at return statements to clean the stack during instrumentation to not trigger verifier errors if such atypical but legal code is encountered.
  • Do not generate handlers for return values if an instrumented method or an advice method only throws exceptions but never returns regularly.

Byte Buddy 1.4.11

15 Jul 11:05

Choose a tag to compare

  • Added tracer for the state of the operand stack for the Advice component to clear the stack upon a return. Without this, if code would return without leaving the stack empty, a verifier error would be thrown. This typically is only a problem when processing code that was produced by other code generation libraries.