* Upgrade byte-buddy to 1.12.13, and adopt byte-buddy APIs changes. (#287)

This commit is contained in:
吴晟 Wu Sheng 2022-08-02 09:14:31 +08:00 committed by GitHub
parent 129f57c4c1
commit 7b256a61c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 3 deletions

View File

@ -11,6 +11,7 @@ Release Notes.
* Add plugin to support hutool-http 5.x.
* Add plugin to support Tomcat 10.x.
* Save http status code regardless of it's status.
* Upgrade byte-buddy to 1.12.13, and adopt byte-buddy APIs changes.
#### Documentation

View File

@ -19,6 +19,7 @@
package org.apache.skywalking.apm.agent;
import java.lang.instrument.Instrumentation;
import java.security.ProtectionDomain;
import java.util.Collections;
import java.util.List;
import java.util.Map;
@ -153,7 +154,8 @@ public class SkyWalkingAgent {
public DynamicType.Builder<?> transform(final DynamicType.Builder<?> builder,
final TypeDescription typeDescription,
final ClassLoader classLoader,
final JavaModule module) {
final JavaModule javaModule,
final ProtectionDomain protectionDomain) {
LoadedLibraryCollector.registerURLClassLoader(classLoader);
List<AbstractClassEnhancePluginDefine> pluginDefines = pluginFinder.find(typeDescription);
if (pluginDefines.size() > 0) {

View File

@ -215,7 +215,7 @@ Apache 2.0 licenses
The following components are provided under the Apache License. See project link for details.
The text of each license is the standard Apache 2.0 license.
raphw (byte-buddy) 1.11.18: http://bytebuddy.net/ , Apache 2.0
raphw (byte-buddy) 1.12.13: http://bytebuddy.net/ , Apache 2.0
Google: grpc-java 1.44.0: https://github.com/grpc/grpc-java, Apache 2.0
Google: gson 2.8.6: https://github.com/google/gson , Apache 2.0
Google: proto-google-common-protos 2.0.1: https://github.com/googleapis/googleapis , Apache 2.0

View File

@ -86,7 +86,7 @@
<lombok.version>1.18.20</lombok.version>
<!-- core lib dependency -->
<bytebuddy.version>1.11.18</bytebuddy.version>
<bytebuddy.version>1.12.13</bytebuddy.version>
<grpc.version>1.44.0</grpc.version>
<gson.version>2.8.6</gson.version>
<os-maven-plugin.version>1.6.2</os-maven-plugin.version>