File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
muzzle/src/main/java/io/opentelemetry/javaagent/tooling/muzzle Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -146,6 +146,7 @@ public AgentTypePool typePool(
146146 return typePool (classFileLocator , classLoader );
147147 }
148148
149+ // visible for testing
149150 TypePool .CacheProvider getCacheProvider (ClassLoader classLoader ) {
150151 if (classLoader == null ) {
151152 return bootstrapCacheProvider ;
@@ -167,6 +168,7 @@ TypePool.CacheProvider getCacheProvider(ClassLoader classLoader) {
167168 *
168169 * <p>The loaderHash exists to avoid calling get & strengthening the Reference.
169170 */
171+ // visible for testing
170172 static final class TypeCacheKey {
171173 private final int loaderHash ;
172174 @ Nullable private final WeakReference <ClassLoader > loaderRef ;
You can’t perform that action at this time.
0 commit comments