DynamicOptions: Fix type safety warning
Change-Id: I5ea26e21cbec28d3f4e2a9c7c8692a448367db21
(cherry picked from commit fb3687e2bf
)
This commit is contained in:
parent
3c0499aaf2
commit
fa6cb5d691
@ -252,7 +252,7 @@ public class DynamicOptions {
|
||||
}
|
||||
if (mergedCl == null) {
|
||||
mergedCl = new DelegatingClassLoader(beanCl, dynamicBeanCl);
|
||||
mergedClByCl.put(dynamicBeanCl, new WeakReference(mergedCl));
|
||||
mergedClByCl.put(dynamicBeanCl, new WeakReference<>(mergedCl));
|
||||
}
|
||||
return mergedCl;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user