提交 52cb23bc 编写于 作者: A alanb

8019384: jps and jcmd tests fail when there is a process started with a .war file

Reviewed-by: dcubed, sla, mchung
上级 800754bd
......@@ -8,10 +8,10 @@ BEGIN {
current=1;
}
# or match on a path name to a jar file followed by arbitraty arguments
# or match on a path name to a jar or war file followed by arbitraty arguments
# - note, jar files ending with ".jar" is only a convention, not a requirement.
#Theoretically, any valid file name could occur here.
/^[0-9]+ .*\.jar($| .*$)/ {
/^[0-9]+ .*\.(jar|war)($| .*$)/ {
current=1;
}
......
......@@ -8,10 +8,10 @@ BEGIN {
matched++;
}
# or match on a jar file name - note, jar files ending with
# or match on a jar or war file name - note, jar files ending with
# ".jar" is only a convention , not a requirement. Theoretically,
# any valid file name could occur here.
/^[0-9]+ .*\.jar$/ {
/^[0-9]+ .*\.(jar|war)$/ {
matched++;
}
......
......@@ -8,10 +8,10 @@ BEGIN {
matched++;
}
# or match on a path name to a jar file - note, jar files ending with
# or match on a path name to a jar or war file - note, jar files ending with
# ".jar" is only a convention, not a requirement. Theoretically,
# any valid file name could occur here.
/^[0-9]+ .*\.jar$/ {
/^[0-9]+ .*\.(jar|war)$/ {
matched++;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册