fix: take into account empty classes
This commit is contained in:
parent
5185c93663
commit
0ac7af2ea3
@ -289,7 +289,7 @@ public class NativeWrapperProvider implements WrapperProvider {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void initType(Class<?> clazz, FunctionValue constr, ObjectValue proto) {
|
private void initType(Class<?> clazz, FunctionValue constr, ObjectValue proto) {
|
||||||
if (constr != null && proto != null) return;
|
if (constr != null && proto != null || ignore.contains(clazz)) return;
|
||||||
// i vomit
|
// i vomit
|
||||||
if (
|
if (
|
||||||
clazz == Object.class ||
|
clazz == Object.class ||
|
||||||
|
Loading…
Reference in New Issue
Block a user