We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b082269 commit 2566e1aCopy full SHA for 2566e1a
src/main/kotlin/tech/httptoolkit/javaagent/AttachMain.kt
@@ -85,7 +85,7 @@ fun attachAgent(
85
) {
86
val jarPath = File(
87
ConstantProxySelector::class.java // Any arbitrary class defined inside this JAR
88
- .protectionDomain.codeSource.location.path
+ .protectionDomain.codeSource.location.toURI()
89
).absolutePath
90
91
// Inject the agent into the target VM
0 commit comments