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:
mayuming 2025-09-06 20:20:59 +08:00 committed by GitHub
parent 69864dac8c
commit 1f9fa1ea6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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];
}