提交 83b8c103 authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 e2cb3f59
......@@ -38,8 +38,7 @@ Frequently Asked Questions
<h3>Are there any known bugs? When is the next release?</h3>
<p>
Usually, bugs get fixes as they are found. There is a release every few weeks.
Here is the list of known and confirmed issues as of
2007-10-20:
Here is the list of known and confirmed issues:
</p>
<ul>
<li>Some problems have been found with right outer join. Internally, it is converted to left outer join, which
......
......@@ -7,16 +7,9 @@ package org.h2.engine;
import org.h2.constant.SysProperties;
/*
* Coding rules:
* - boolean CHECK = x > boolean CHECK = Database.CHECK
* - Database.CHECK = false (or true for debug build)
* - System.out > trace messages
*
* Release checklist
* - Test with Hibernate
* - Run FindBugs
* - Test with hibernate
* - Update latest version in build.html: http://mirrors.ibiblio.org/pub/mirrors/maven2/com/h2database/h2/
* - Update latest version in mainWeb.html, download.html
* - ant jarClient, check jar file size
*
* - Compile with JDK 1.4, 1.5 and 1.6:
......@@ -30,25 +23,29 @@ import org.h2.constant.SysProperties;
* ant codeswitchJdk14
* ant javadocImpl
*
* - Change FAQ (next release planned, known bugs)
* - Check version, change build number in Constants.java and ant-build.properties
* - Change version and build number in
* Constants.java
* ant-build.properties
* build.html
* mainWeb.html
* download.html
* - Maybe increase TCP_DRIVER_VERSION
* - Check code coverage
* - No " Message.getInternalError" (must be "throw Message.getInternalError")
* - No TODO in the docs, remove @~ in .utf8.txt files
* - Run regression test with JDK 1.4 and 1.5
*
* - Change version(s) in performance.html; use latest versions of other databases
* - Run 'ant benchmark' (with JDK 1.4 currently)
* - Copy the benchmark results and update the performance page and diagram
*
* - Documentation: if there are new files, add them to MergeDocs
* - Documentation: check if all javadoc files are in the index
* - Documentation: check if all Javadoc files are in the index
* - ant docs
* - PDF (15 min)
* - PDF
* - footer
* - front page
* - orphan control
* - tables (optimal size), page breaks
* - table of contents
* - Switch off auto-build
* - ant all
......@@ -58,13 +55,11 @@ import org.h2.constant.SysProperties;
* - Windows installer (nsis)
* - Test
* - Test the windows service
* - TestSystemExit
* - Scan for viruses
* - ant mavenDeployCentral
* - Upload to SourceForge
* - Newsletter: send to h2database-news@googlegroups.com (http://groups.google.com/group/h2database-news)
* - Newsletter: send without 'to unsubscribe...' to h2database-news@googlegroups.com, but
* - Newsletter: prepare, send (always send to BCC!!)
* - Newsletter: send to google groups, but without 'to unsubscribe...'
* - Add to freshmeat, http://code.google.com/p/h2database/downloads/list
*
* @author Thomas
......
......@@ -7,9 +7,11 @@ package org.h2.test.coverage;
import java.io.BufferedWriter;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.LineNumberReader;
import org.h2.util.IOUtils;
import java.io.OutputStream;
import java.io.Reader;
import java.io.Writer;
/**
* The class used at runtime to measure the code usage and performance.
......@@ -92,7 +94,37 @@ public class Profile extends Thread {
e.printStackTrace();
System.exit(1);
} finally {
IOUtils.closeSilently(reader);
closeSilently(reader);
}
}
private void closeSilently(Reader reader) {
if (reader != null) {
try {
reader.close();
} catch (IOException e) {
// ignore
}
}
}
private void closeSilently(Writer writer) {
if (writer != null) {
try {
writer.close();
} catch (IOException e) {
// ignore
}
}
}
public static void closeSilently(OutputStream out) {
if (out != null) {
try {
out.close();
} catch (IOException e) {
// ignore
}
}
}
......@@ -147,8 +179,8 @@ public class Profile extends Thread {
print("Not covered: " + percent + " % " + " (" + unvisited + " of " + maxIndex + "; throw="
+ unvisitedThrow + ")");
} finally {
IOUtils.closeSilently(fileWriter);
IOUtils.closeSilently(reader);
closeSilently(fileWriter);
closeSilently(reader);
}
}
......@@ -206,7 +238,7 @@ public class Profile extends Thread {
print(text[i]);
}
} finally {
IOUtils.closeSilently(reader);
closeSilently(reader);
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论