mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -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);
|
||||
private Map<String, ClassHolder> cache = new HashMap<>();
|
||||
private Set<String> classNames = Collections.unmodifiableSet(new HashSet<>(
|
||||
dependencyAnalyzer.getReachableClasses()));
|
||||
dependencyAnalyzer.getReachableClasses().stream()
|
||||
.filter(className -> dependencyAnalyzer.getClassSource().get(className) != null)
|
||||
.collect(Collectors.toList())));
|
||||
|
||||
@Override
|
||||
public ClassHolder get(String name) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user