mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
This commit is contained in:
parent
bacd02d8a7
commit
c8090c0bde
|
@ -84,7 +84,9 @@ class JSODependencyListener implements DependencyListener {
|
|||
for (MethodReader method : cls.getMethods()) {
|
||||
if (exposedCls.inheritedMethods.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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user