Выловил заразу всё таки...

This commit is contained in:
zaxar163 2018-12-03 16:43:22 +03:00
parent b06581e077
commit 0fe5c57468
No known key found for this signature in database
GPG key ID: E3B309DD3852DE06

View file

@ -160,7 +160,7 @@ public void build() throws IOException {
ZipEntry e = input.getNextEntry();
while (e != null) {
String filename = e.getName();
output.putNextEntry(e);
output.putNextEntry(IOHelper.newZipEntry(e.getName()));
if (filename.endsWith(".class")) {
CharSequence classname = filename.replace('/', '.').subSequence(0,
filename.length() - ".class".length());
@ -224,7 +224,7 @@ private void stdBuild() throws IOException {
continue;
}
try {
output.putNextEntry(e);
output.putNextEntry(IOHelper.newZipEntry(e.getName()));
} catch (ZipException ex) {
LogHelper.error(ex);
e = input.getNextEntry();