Compare commits
2 Commits
0.9.29-bet
...
0.9.31-bet
| Author | SHA1 | Date | |
|---|---|---|---|
|
6eea342d04
|
|||
|
ece9cf68dc
|
@@ -291,13 +291,17 @@ public class NativeWrapperProvider implements WrapperProvider {
|
|||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
parent = parent.getSuperclass();
|
parent = parent.getSuperclass();
|
||||||
if (parent == null) return;
|
if (parent == null) break;
|
||||||
|
|
||||||
var parentProto = getProto(parent);
|
var parentProto = getProto(parent);
|
||||||
var parentConstr = getConstr(parent);
|
var parentConstr = getConstr(parent);
|
||||||
|
|
||||||
if (parentProto != null) Values.setPrototype(Context.NULL, proto, parentProto);
|
if (parentProto != null && parentConstr != null) {
|
||||||
if (parentConstr != null) Values.setPrototype(Context.NULL, constr, parentConstr);
|
Values.setPrototype(Context.NULL, proto, parentProto);
|
||||||
|
Values.setPrototype(Context.NULL, constr, parentConstr);
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user