mirror of
https://gitee.com/smallc/blade-tool.git
synced 2026-07-11 02:49:45 +08:00
✨ Bean copy 解决 java17 反射问题
This commit is contained in:
parent
47579f5137
commit
8277caae2f
|
|
@ -127,7 +127,7 @@ public abstract class BaseBeanCopier {
|
||||||
ClassEmitter ce = new ClassEmitter(v);
|
ClassEmitter ce = new ClassEmitter(v);
|
||||||
ce.begin_class(Constants.V1_2,
|
ce.begin_class(Constants.V1_2,
|
||||||
Constants.ACC_PUBLIC,
|
Constants.ACC_PUBLIC,
|
||||||
getGenerateClassName(),
|
this.className,
|
||||||
BEAN_COPIER,
|
BEAN_COPIER,
|
||||||
null,
|
null,
|
||||||
Constants.SOURCE_FILE);
|
Constants.SOURCE_FILE);
|
||||||
|
|
@ -216,9 +216,5 @@ public abstract class BaseBeanCopier {
|
||||||
return this.className;
|
return this.className;
|
||||||
}
|
}
|
||||||
|
|
||||||
private String getGenerateClassName() {
|
|
||||||
return className;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user