Skip to content

Commit 569b517

Browse files
committed
fix typo
1 parent c9f31da commit 569b517

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

muzzle/src/main/java/io/opentelemetry/javaagent/tooling/HelperInjector.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -459,10 +459,10 @@ void initialize(MethodHandles.Lookup lookup) throws Exception {
459459
}
460460
}
461461

462-
Class<?> loadClass(ClassLoader cLassLoader, String className, byte[] classBytes)
462+
Class<?> loadClass(ClassLoader classLoader, String className, byte[] classBytes)
463463
throws Throwable {
464464
// first check whether the class is already defined
465-
Class<?> clazz = (Class<?>) findLoadedClass.invoke(cLassLoader, className);
465+
Class<?> clazz = (Class<?>) findLoadedClass.invoke(classLoader, className);
466466
if (clazz != null) {
467467
return clazz;
468468
}
@@ -473,14 +473,14 @@ Class<?> loadClass(ClassLoader cLassLoader, String className, byte[] classBytes)
473473
try {
474474
return (Class<?>)
475475
defineClass.invoke(
476-
cLassLoader,
476+
classLoader,
477477
className,
478478
classBytes,
479479
0,
480480
classBytes.length,
481481
HelperInjector.PROTECTION_DOMAIN);
482482
} catch (Throwable throwable) {
483-
clazz = (Class<?>) findLoadedClass.invoke(cLassLoader, className);
483+
clazz = (Class<?>) findLoadedClass.invoke(classLoader, className);
484484
if (clazz != null) {
485485
return clazz;
486486
}

0 commit comments

Comments
 (0)