mirror of https://github.com/alibaba/fastjson2.git
Update core/src/main/java/com/alibaba/fastjson2/util/BeanUtils.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
69864dac8c
commit
1f9fa1ea6f
|
@ -1146,7 +1146,7 @@ public abstract class BeanUtils {
|
|||
}
|
||||
|
||||
private static Method[] recordComponentsToMethods(Class<?> recordClass) {
|
||||
if (JVM_VERSION < 14 && ANDROID_SDK_INT < 33) {
|
||||
if (JVM_VERSION < 14 || ANDROID_SDK_INT < 33) {
|
||||
return new Method[0];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue