mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2025-01-03 05:44:10 -08:00
Fixes dependency propagation of exceptions
This commit is contained in:
parent
8541e40f36
commit
04de57627f
|
@ -84,7 +84,7 @@ class DependencyGraphBuilder {
|
||||||
if (tryCatch.getExceptionType() != null) {
|
if (tryCatch.getExceptionType() != null) {
|
||||||
exceptions[i] = dependencyChecker.getClassSource().get(tryCatch.getExceptionType());
|
exceptions[i] = dependencyChecker.getClassSource().get(tryCatch.getExceptionType());
|
||||||
}
|
}
|
||||||
vars[i] = methodDep.getVariable(i);
|
vars[i] = methodDep.getVariable(tryCatch.getExceptionVariable().getIndex());
|
||||||
}
|
}
|
||||||
return new ExceptionConsumer(dependencyChecker, exceptions, vars, methodDep);
|
return new ExceptionConsumer(dependencyChecker, exceptions, vars, methodDep);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user