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

--no commit message

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