mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-23 00:24:11 -08:00
Trying to fix bug that occurs during maven build on Max OS:
https://github.com/konsoletyper/teavm/issues/12
This commit is contained in:
parent
0ff2b2a1dc
commit
c478e965e4
|
@ -166,7 +166,7 @@ public class JCLComparisonBuilder {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
int slashIndex = name.lastIndexOf('/');
|
int slashIndex = name.lastIndexOf('/');
|
||||||
return packages.contains(name.substring(0, slashIndex));
|
return slashIndex >= 0 && packages.contains(name.substring(0, slashIndex));
|
||||||
}
|
}
|
||||||
|
|
||||||
private void compareClass(InputStream input) throws IOException {
|
private void compareClass(InputStream input) throws IOException {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user