mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -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) {
|
Set<String> visited) {
|
||||||
while (visited.add(className)) {
|
while (visited.add(className)) {
|
||||||
TableBuilder table = tables.get(className);
|
TableBuilder table = tables.get(className);
|
||||||
|
if (table == null) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
EntryBuilder entry = table.entries.get(method);
|
EntryBuilder entry = table.entries.get(method);
|
||||||
if (entry == null) {
|
if (entry == null) {
|
||||||
entry = new EntryBuilder();
|
entry = new EntryBuilder();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user