Fix AgentClassLoader test
MODIFY
javaagent/src/test/groovy/io/opentelemetry/javaagent/classloading/ShadowPackageRenamingTest.groovy
javaagent/src/test/groovy/io/opentelemetry/javaagent/classloading/ShadowPackageRenamingTest.groovy
@@ -52,8 +52,8 @@ class ShadowPackageRenamingTest extends Specification {
clazz.getProtectionDomain().getCodeSource().getLocation()
expect:
- agentSource.getFile() == "/"
- agentSource.getProtocol() == "x-internal-jar"
+ agentSource.getFile().endsWith(".jar")
+ agentSource.getProtocol() == "file"
agentSource == agentGuavaDep
agentSource.getFile() != userGuava.getFile()
}

Fix AgentClassLoader test (#2982)