do not close output stream in writeToJar
This commit is contained in:
@@ -217,7 +217,7 @@ public class CompileEnvironmentUtil {
|
|||||||
if (includeRuntime) {
|
if (includeRuntime) {
|
||||||
writeRuntimeToJar(stream);
|
writeRuntimeToJar(stream);
|
||||||
}
|
}
|
||||||
stream.close();
|
stream.finish();
|
||||||
}
|
}
|
||||||
catch (IOException e) {
|
catch (IOException e) {
|
||||||
throw new CompileEnvironmentException("Failed to generate jar file", e);
|
throw new CompileEnvironmentException("Failed to generate jar file", e);
|
||||||
|
|||||||
Reference in New Issue
Block a user