提交 dd184254 authored 作者: Thomas Mueller's avatar Thomas Mueller

Bootstrapping problem in the build

上级 11a00261
...@@ -36,7 +36,6 @@ import java.util.zip.CRC32; ...@@ -36,7 +36,6 @@ import java.util.zip.CRC32;
import java.util.zip.Deflater; import java.util.zip.Deflater;
import java.util.zip.ZipEntry; import java.util.zip.ZipEntry;
import java.util.zip.ZipOutputStream; import java.util.zip.ZipOutputStream;
import org.h2.util.IOUtils;
/** /**
* This class is a complete pure Java build tool. It allows to build this * This class is a complete pure Java build tool. It allows to build this
...@@ -710,7 +709,13 @@ public class BuildBase { ...@@ -710,7 +709,13 @@ public class BuildBase {
} catch (IOException e) { } catch (IOException e) {
throw new RuntimeException("Error reading from file " + file, e); throw new RuntimeException("Error reading from file " + file, e);
} finally { } finally {
IOUtils.closeSilently(ra); if (ra != null) {
try {
ra.close();
} catch (IOException e) {
// ignore
}
}
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论