mirror of
https://github.com/chillzhuang/blade-tool
synced 2025-03-14 17:47:25 +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…
x
Reference in New Issue
Block a user