Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
a6f19b41
提交
a6f19b41
authored
12月 29, 2018
作者:
Evgenij Ryazanov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update ASM for Java 11 support
上级
334f02bb
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
33 行增加
和
33 行删除
+33
-33
pom.xml
h2/pom.xml
+1
-1
Build.java
h2/src/tools/org/h2/build/Build.java
+32
-32
没有找到文件。
h2/pom.xml
浏览文件 @
a6f19b41
...
...
@@ -112,7 +112,7 @@
<dependency>
<groupId>
org.ow2.asm
</groupId>
<artifactId>
asm
</artifactId>
<version>
6.1
</version>
<version>
7.0
</version>
<scope>
test
</scope>
</dependency>
<!-- END TEST DEPENDENCIES !-->
...
...
h2/src/tools/org/h2/build/Build.java
浏览文件 @
a6f19b41
...
...
@@ -136,10 +136,10 @@ public class Build extends BuildBase {
public
void
coverage
()
{
compile
();
downloadTest
();
downloadUsingMaven
(
"ext/org.jacoco.agent-0.8.
0
.jar"
,
"org.jacoco"
,
"org.jacoco.agent"
,
"0.8.
0
"
,
"
f2748b949b5fc661e089e2eeef39891dfd10a7e
5"
);
try
(
ZipFile
zipFile
=
new
ZipFile
(
new
File
(
"ext/org.jacoco.agent-0.8.
0
.jar"
)))
{
downloadUsingMaven
(
"ext/org.jacoco.agent-0.8.
2
.jar"
,
"org.jacoco"
,
"org.jacoco.agent"
,
"0.8.
2
"
,
"
1402427761df5c7601ff6e06280764833ed727b
5"
);
try
(
ZipFile
zipFile
=
new
ZipFile
(
new
File
(
"ext/org.jacoco.agent-0.8.
2
.jar"
)))
{
final
Enumeration
<?
extends
ZipEntry
>
e
=
zipFile
.
entries
();
while
(
e
.
hasMoreElements
())
{
final
ZipEntry
zipEntry
=
e
.
nextElement
();
...
...
@@ -154,21 +154,21 @@ public class Build extends BuildBase {
}
catch
(
IOException
ex
)
{
throw
new
RuntimeException
(
ex
);
}
downloadUsingMaven
(
"ext/org.jacoco.cli-0.8.
0
.jar"
,
"org.jacoco"
,
"org.jacoco.cli"
,
"0.8.
0
"
,
"
69e55ba110e6ffa91d72ed3df8e09aecf043b0ab
"
);
downloadUsingMaven
(
"ext/org.jacoco.core-0.8.
0
.jar"
,
"org.jacoco"
,
"org.jacoco.core"
,
"0.8.
0
"
,
"
cc2ebdc1da53665ec788903bad65ee64345e4455
"
);
downloadUsingMaven
(
"ext/org.jacoco.report-0.8.
0
.jar"
,
"org.jacoco"
,
"org.jacoco.report"
,
"0.8.
0
"
,
"
1bcab2a451f5a382bc674857c8f3f6d3fa52151d
"
);
downloadUsingMaven
(
"ext/asm-commons-
6.1
.jar"
,
"org.ow2.asm"
,
"asm-commons"
,
"
6.1
"
,
"
8a8d242d7ce00fc937a245fae5b65763d13f7c
d1"
);
downloadUsingMaven
(
"ext/asm-tree-
6.1
.jar"
,
"org.ow2.asm"
,
"asm-tree"
,
"
6.1
"
,
"
701262d4b9bcbdc2d4b80617e82db9a2b7f4f088
"
);
downloadUsingMaven
(
"ext/org.jacoco.cli-0.8.
2
.jar"
,
"org.jacoco"
,
"org.jacoco.cli"
,
"0.8.
2
"
,
"
9595c53358d0306900183b5a7e6a70c88171ab4c
"
);
downloadUsingMaven
(
"ext/org.jacoco.core-0.8.
2
.jar"
,
"org.jacoco"
,
"org.jacoco.core"
,
"0.8.
2
"
,
"
977b33afe2344a9ee801fd3317c54d8e1f9d7a79
"
);
downloadUsingMaven
(
"ext/org.jacoco.report-0.8.
2
.jar"
,
"org.jacoco"
,
"org.jacoco.report"
,
"0.8.
2
"
,
"
50e133cdfd2d31ca5702b73615be70f801d3ae26
"
);
downloadUsingMaven
(
"ext/asm-commons-
7.0
.jar"
,
"org.ow2.asm"
,
"asm-commons"
,
"
7.0
"
,
"
478006d07b7c561ae3a92ddc1829bca81ae0cd
d1"
);
downloadUsingMaven
(
"ext/asm-tree-
7.0
.jar"
,
"org.ow2.asm"
,
"asm-tree"
,
"
7.0
"
,
"
29bc62dcb85573af6e62e5b2d735ef65966c4180
"
);
downloadUsingMaven
(
"ext/args4j-2.33.jar"
,
"args4j"
,
"args4j"
,
"2.33"
,
"bd87a75374a6d6523de82fef51fc3cfe9baf9fc9"
);
...
...
@@ -204,12 +204,12 @@ public class Build extends BuildBase {
delete
(
files
(
"coverage/bin/org/h2/sample"
));
// Generate report
execJava
(
args
(
"-cp"
,
"ext/org.jacoco.cli-0.8.
0
.jar"
+
File
.
pathSeparator
+
"ext/org.jacoco.core-0.8.
0
.jar"
+
File
.
pathSeparator
+
"ext/org.jacoco.report-0.8.
0
.jar"
+
File
.
pathSeparator
+
"ext/asm-
6.1
.jar"
+
File
.
pathSeparator
+
"ext/asm-commons-
6.1
.jar"
+
File
.
pathSeparator
+
"ext/asm-tree-
6.1
.jar"
+
File
.
pathSeparator
"ext/org.jacoco.cli-0.8.
2
.jar"
+
File
.
pathSeparator
+
"ext/org.jacoco.core-0.8.
2
.jar"
+
File
.
pathSeparator
+
"ext/org.jacoco.report-0.8.
2
.jar"
+
File
.
pathSeparator
+
"ext/asm-
7.0
.jar"
+
File
.
pathSeparator
+
"ext/asm-commons-
7.0
.jar"
+
File
.
pathSeparator
+
"ext/asm-tree-
7.0
.jar"
+
File
.
pathSeparator
+
"ext/args4j-2.33.jar"
,
"org.jacoco.cli.internal.Main"
,
"report"
,
"coverage/jacoco.exec"
,
"--classfiles"
,
"coverage/bin"
,
...
...
@@ -269,7 +269,7 @@ public class Build extends BuildBase {
File
.
pathSeparator
+
"ext/org.osgi.core-4.2.0.jar"
+
File
.
pathSeparator
+
"ext/org.osgi.enterprise-4.2.0.jar"
+
File
.
pathSeparator
+
"ext/jts-core-1.15.0.jar"
+
File
.
pathSeparator
+
"ext/asm-
6.1
.jar"
+
File
.
pathSeparator
+
"ext/asm-
7.0
.jar"
+
File
.
pathSeparator
+
javaToolsJar
;
FileList
files
;
if
(
clientOnly
)
{
...
...
@@ -384,9 +384,9 @@ public class Build extends BuildBase {
downloadOrVerify
(
"ext/junit-4.12.jar"
,
"junit"
,
"junit"
,
"4.12"
,
"2973d150c0dc1fefe998f834810d68f278ea58ec"
,
offline
);
downloadUsingMaven
(
"ext/asm-
6.1
.jar"
,
"org.ow2.asm"
,
"asm"
,
"
6.1
"
,
"
94a0d17ba8eb24833cd54253ace9b053786a9571
"
);
downloadUsingMaven
(
"ext/asm-
7.0
.jar"
,
"org.ow2.asm"
,
"asm"
,
"
7.0
"
,
"
d74d4ba0dee443f68fb2dcb7fcdb945a2cd89912
"
);
}
private
void
downloadOrVerify
(
String
target
,
String
group
,
String
artifact
,
...
...
@@ -669,7 +669,7 @@ public class Build extends BuildBase {
File
.
pathSeparator
+
"ext/org.osgi.core-4.2.0.jar"
+
File
.
pathSeparator
+
"ext/org.osgi.enterprise-4.2.0.jar"
+
File
.
pathSeparator
+
"ext/jts-core-1.15.0.jar"
+
File
.
pathSeparator
+
"ext/asm-
6.1
.jar"
+
File
.
pathSeparator
+
"ext/asm-
7.0
.jar"
+
File
.
pathSeparator
+
"ext/junit-4.12.jar"
,
"-subpackages"
,
"org.h2"
);
...
...
@@ -704,7 +704,7 @@ public class Build extends BuildBase {
File
.
pathSeparator
+
"ext/org.osgi.core-4.2.0.jar"
+
File
.
pathSeparator
+
"ext/org.osgi.enterprise-4.2.0.jar"
+
File
.
pathSeparator
+
"ext/jts-core-1.15.0.jar"
+
File
.
pathSeparator
+
"ext/asm-
6.1
.jar"
+
File
.
pathSeparator
+
"ext/asm-
7.0
.jar"
+
File
.
pathSeparator
+
"ext/junit-4.12.jar"
,
"-subpackages"
,
"org.h2"
,
"-package"
,
...
...
@@ -967,7 +967,7 @@ public class Build extends BuildBase {
File
.
pathSeparator
+
"ext/jts-core-1.15.0.jar"
+
File
.
pathSeparator
+
"ext/slf4j-api-1.6.0.jar"
+
File
.
pathSeparator
+
"ext/slf4j-nop-1.6.0.jar"
+
File
.
pathSeparator
+
"ext/asm-
6.1
.jar"
+
File
.
pathSeparator
+
"ext/asm-
7.0
.jar"
+
File
.
pathSeparator
+
javaToolsJar
;
int
version
=
getJavaVersion
();
if
(
version
>=
9
)
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论