bsideup / jabel

Jabel - unlock Javac 9+ syntax when targeting Java 8
Apache License 2.0
803 stars 47 forks source link

Bump byte-buddy-agent from 1.11.1 to 1.11.21 #112

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Bumps byte-buddy-agent from 1.11.1 to 1.11.21.

Release notes

Sourced from byte-buddy-agent's releases.

Byte Buddy 1.11.21

  • Allow Advice.PostProcessor to emitt frames.
  • Add possibility for Advice.AssignReturned to suppress exceptions.
  • Add frame when rebasing constructors to avoid breakage if frames are assumed prior to super constructor call.

Byte Buddy 1.11.20

  • Add option for AsScalar annotation to assign default value instead of ignoring it.
  • Add transform-runtime goal to Byte Buddy Mojo to allow for running plugins with runtime class path included.

Byte Buddy 1.11.19

  • Add Advice.AssignReturned post processor to allow for assigning values from Advice that uses delegation rather than inlining.
  • Allow for declaring Advice.Local values from both enter and exit advice.
  • Add option for using runtime class path rather than only compile scope from Byte Buddy Maven plugin.
  • Avoid loading of annotation proxies within Byte Buddy's internal API.
  • Add plugin to add Java Repeatable annotations without requiring a JDK 8+.

Byte Buddy 1.11.18

  • Avoid binary incompatibility due to signature change by reintroducing method overload.
  • Use plugin to add annotations for dispatcher methods to avoid breakage when using obfuscators.

Byte Buddy 1.11.17

  • Better error message upon attachment failure due to overridden attach socket.
  • Retain label order for instructions in Advice to avoid incorrect offsets in stack map frames.
  • Change MethodGraph.Compiler API to accept generic types.
  • Add plugin to add Proxied annotations to all proxied methods of a dispatcher. This avoids problems in obfuscators.
  • Fix resolution of type initializer in a Nexus.

Byte Buddy 1.11.16

  • Avoid naming conflicts when adding super and default method delegation for the same method using MethodDelegation.
  • Fix module visibility for Invoker to avoid breakage if Byte Buddy is shaded into another module with different package exports.

Byte Buddy 1.11.15

  • Add net.bytebuddy prefix to Byte Buddy specific privileges.
  • Rework JavaDispatcher to require specific privilege but use Byte Buddy's protection domain for dispatchers, once acquired.

byte-buddy-1.11.14

  • Adjust InvocationHandlerAdapter to use null for methods without parameters as specified by contract.
  • Offer option to use null for MethodDelegation and Advice if method has no parameters.
  • Add method to seal unsealed class loaders after the fact.
  • Use correct type for resolving security manager method in ByteBuddyAgent.

Byte Buddy 1.11.13

  • Introduce warmUp to further avoid circularities when using AgentBuilder.
  • Fix ignore matcher of AgentBuilder to include jdk.internal.reflect package by default.

Byte Buddy 1.11.12

  • Always use reflection and not a JavaDispatcher when a method potentially checks the access context via a security manager.

Byte Buddy 1.11.11

  • Do not pollute access context for security manager when defining classes via a method handle lookup.

... (truncated)

Changelog

Sourced from byte-buddy-agent's changelog.

18. October 2021: version 1.11.21

  • Allow Advice.PostProcessor to emitt frames.
  • Add possibility for Advice.AssignReturned to suppress exceptions.
  • Add frame when rebasing constructors to avoid breakage if frames are assumed prior to super constructor call.

11. October 2021: version 1.11.20

  • Add option for AsScalar annotation to assign default value instead of ignoring it.
  • Add transform-runtime goal to Byte Buddy Mojo to allow for running plugins with runtime class path included.
Commits
  • fdd9f9d [maven-release-plugin] prepare release byte-buddy-1.11.21
  • f893a5d [release] Release version
  • 513edde Remove illegal character from javadoc.
  • 9b0237a Add tests and javadoc for assign returned exception handler.
  • 0675b92 Add exception handler argument for post processor in advice.
  • 9f02844 Complete API for post processor that allows for legal frame emission.
  • e1c71a6 Fix injection of intermediate frame in post processor.
  • d1670d5 Add exception.
  • c4f832f Add more tests.
  • 6dbc949 Add tests to document the problems.
  • Additional commits viewable in compare view


Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)