mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -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;
|
||||
}
|
||||
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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user