Bean copy 解决 java17 反射问题

This commit is contained in:
卢春梦 2025-02-13 11:02:50 +08:00
parent 47579f5137
commit 8277caae2f

View File

@ -127,7 +127,7 @@ public abstract class BaseBeanCopier {
ClassEmitter ce = new ClassEmitter(v);
ce.begin_class(Constants.V1_2,
Constants.ACC_PUBLIC,
getGenerateClassName(),
this.className,
BEAN_COPIER,
null,
Constants.SOURCE_FILE);
@ -216,9 +216,5 @@ public abstract class BaseBeanCopier {
return this.className;
}
private String getGenerateClassName() {
return className;
}
}
}