Skip to content

Commit

Permalink
Update BeanDefinitionUtils.java
Browse files Browse the repository at this point in the history
  • Loading branch information
mercyblitz committed Dec 27, 2024
1 parent 471b33c commit 899c613
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public static ResolvableType getResolvableType(RootBeanDefinition rootBeanDefini
resolvableType = (ResolvableType) GET_RESOLVABLE_TYPE_METHOD_HANDLE.invokeExact(rootBeanDefinition);
} catch (Throwable e) {
if (logger.isWarnEnabled()) {
logger.warn("Failed to invokeExact on {} with arg : {}", GET_RESOLVABLE_TYPE_METHOD_HANDLE, rootBeanDefinition, e);
logger.warn("Failed to invokeExact on {} with arg : '{}'", GET_RESOLVABLE_TYPE_METHOD_HANDLE, rootBeanDefinition, e);
}
resolvableType = doGetResolvableType(rootBeanDefinition);
}
Expand Down Expand Up @@ -292,7 +292,7 @@ public static boolean setInstanceSupplier(AbstractBeanDefinition beanDefinition,
SET_INSTANCE_SUPPLIER_METHOD_HANDLE.invokeExact(beanDefinition, instanceSupplier);
} catch (Throwable e) {
if (logger.isWarnEnabled()) {
logger.warn("Failed to invokeExact on {} with args : {}", SET_INSTANCE_SUPPLIER_METHOD_HANDLE,
logger.warn("Failed to invokeExact on {} with args : '{}'", SET_INSTANCE_SUPPLIER_METHOD_HANDLE,
Arrays.asList(beanDefinition, instanceSupplier), e);
}
}
Expand All @@ -315,7 +315,7 @@ public static Supplier<?> getInstanceSupplier(AbstractBeanDefinition beanDefinit
supplier = (Supplier<?>) GET_INSTANCE_SUPPLIER_METHOD_HANDLE.invokeExact(beanDefinition);
} catch (Throwable e) {
if (logger.isWarnEnabled()) {
logger.warn("Failed to invokeExact on {} with arg : {}", GET_INSTANCE_SUPPLIER_METHOD_HANDLE, beanDefinition, e);
logger.warn("Failed to invokeExact on {} with arg : '{}'", GET_INSTANCE_SUPPLIER_METHOD_HANDLE, beanDefinition, e);
}
}
return supplier;
Expand Down

0 comments on commit 899c613

Please sign in to comment.