mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-31 12:24:10 -08:00
Fix compiler crash when using incremental pipeline
This commit is contained in:
parent
35ca7fd152
commit
7d2c76f711
|
@ -795,7 +795,9 @@ public class TeaVM implements TeaVMHost, ServiceRepository {
|
||||||
dependencyAnalyzer.getClassHierarchy(), diagnostics);
|
dependencyAnalyzer.getClassHierarchy(), diagnostics);
|
||||||
private Map<String, ClassHolder> cache = new HashMap<>();
|
private Map<String, ClassHolder> cache = new HashMap<>();
|
||||||
private Set<String> classNames = Collections.unmodifiableSet(new HashSet<>(
|
private Set<String> classNames = Collections.unmodifiableSet(new HashSet<>(
|
||||||
dependencyAnalyzer.getReachableClasses()));
|
dependencyAnalyzer.getReachableClasses().stream()
|
||||||
|
.filter(className -> dependencyAnalyzer.getClassSource().get(className) != null)
|
||||||
|
.collect(Collectors.toList())));
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ClassHolder get(String name) {
|
public ClassHolder get(String name) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user