mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
C: fix NPE when building application with errors
This commit is contained in:
parent
c8676f7ffe
commit
3fe3aa5847
|
@ -274,6 +274,9 @@ public class VirtualTableBuilder {
|
|||
Set<String> visited) {
|
||||
while (visited.add(className)) {
|
||||
TableBuilder table = tables.get(className);
|
||||
if (table == null) {
|
||||
break;
|
||||
}
|
||||
EntryBuilder entry = table.entries.get(method);
|
||||
if (entry == null) {
|
||||
entry = new EntryBuilder();
|
||||
|
|
Loading…
Reference in New Issue
Block a user