File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/main/kotlin/tech/httptoolkit/javaagent Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ configurations {
2929}
3030
3131dependencies {
32- implementation group : ' net.bytebuddy' , name : ' byte-buddy-dep' , version : ' 1.12.6 '
32+ implementation group : ' net.bytebuddy' , name : ' byte-buddy-dep' , version : ' 1.12.19 '
3333 // byte buddy contains references to jna classes and without them the r8Jar step fails
3434 compileOnly group : ' net.java.dev.jna' , name : ' jna' , version : ' 5.8.0'
3535
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import net.bytebuddy.utility.JavaModule
1515import java.lang.instrument.Instrumentation
1616import javax.net.ssl.SSLContext
1717import java.net.*
18+ import java.security.ProtectionDomain
1819import javax.net.ssl.HttpsURLConnection
1920import javax.net.ssl.TrustManagerFactory
2021
@@ -137,7 +138,8 @@ abstract class MatchingAgentTransformer(private val logger: TransformationLogger
137138 builder : DynamicType .Builder <* >,
138139 typeDescription : TypeDescription ,
139140 classLoader : ClassLoader ? ,
140- module : JavaModule ?
141+ module : JavaModule ? ,
142+ protectionDomain : ProtectionDomain ?
141143 ): DynamicType .Builder <* > {
142144 logger.beforeTransformation(typeDescription)
143145
You can’t perform that action at this time.
0 commit comments