mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
This commit is contained in:
parent
bacd02d8a7
commit
c8090c0bde
|
@ -84,7 +84,9 @@ class JSODependencyListener implements DependencyListener {
|
||||||
for (MethodReader method : cls.getMethods()) {
|
for (MethodReader method : cls.getMethods()) {
|
||||||
if (exposedCls.inheritedMethods.containsKey(method.getDescriptor()) ||
|
if (exposedCls.inheritedMethods.containsKey(method.getDescriptor()) ||
|
||||||
exposedCls.methods.containsKey(method.getDescriptor())) {
|
exposedCls.methods.containsKey(method.getDescriptor())) {
|
||||||
agent.linkMethod(method.getReference(), null).use();
|
MethodDependency methodDep = agent.linkMethod(method.getReference(), null);
|
||||||
|
methodDep.getVariable(0).propagate(agent.getType(name));
|
||||||
|
methodDep.use();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return exposedCls;
|
return exposedCls;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user