Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
83b8c103
提交
83b8c103
authored
10月 21, 2007
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
--no commit message
上级
e2cb3f59
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
50 行增加
和
24 行删除
+50
-24
faq.html
h2/src/docsrc/html/faq.html
+1
-2
Constants.java
h2/src/main/org/h2/engine/Constants.java
+11
-16
Profile.java
h2/src/test/org/h2/test/coverage/Profile.java
+38
-6
没有找到文件。
h2/src/docsrc/html/faq.html
浏览文件 @
83b8c103
...
...
@@ -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
...
...
h2/src/main/org/h2/engine/Constants.java
浏览文件 @
83b8c103
...
...
@@ -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
j
avadoc files are in the index
* - Documentation: check if all
J
avadoc 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
...
...
h2/src/test/org/h2/test/coverage/Profile.java
浏览文件 @
83b8c103
...
...
@@ -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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论