Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
31f70419
D
dragonwell8_jdk
项目概览
openanolis
/
dragonwell8_jdk
通知
4
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_jdk
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
31f70419
编写于
12月 09, 2009
作者:
O
ohair
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
6906210: Fix another minor typo in test/Makefile
Reviewed-by: tbell, dcubed
上级
b2863e8a
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
134 addition
and
12 deletion
+134
-12
test/Makefile
test/Makefile
+27
-8
test/ProblemList.txt
test/ProblemList.txt
+82
-0
test/com/sun/jdi/NoLaunchOptionTest.java
test/com/sun/jdi/NoLaunchOptionTest.java
+11
-1
test/com/sun/jdi/OptionTest.java
test/com/sun/jdi/OptionTest.java
+10
-1
test/sun/tools/jhat/HatRun.java
test/sun/tools/jhat/HatRun.java
+4
-2
未找到文件。
test/Makefile
浏览文件 @
31f70419
...
...
@@ -291,7 +291,7 @@ TESTEXIT = \
fi
;
\
testExitCode
=
`
$(CAT)
$(EXITCODE)
`
;
\
$(ECHO)
"EXIT CODE:
$
${testExitCode}
"
;
\
exit
${testExitCode}
exit
$
$
{testExitCode}
BUNDLE_UP_AND_EXIT
=
\
(
\
...
...
@@ -300,7 +300,7 @@ BUNDLE_UP_AND_EXIT = \
$(RM)
-f
$(STATS_TXT)
$(RUNLIST)
$(PASSLIST)
$(FAILLIST)
$(EXITCODE)
;
\
$(ECHO)
"
$
${jtregExitCode}
"
>
$(EXITCODE)
;
\
if
[
-r
"
$
${_summary}
"
]
;
then
\
$(ECHO)
"Summary:
$
${_summary}
"
>
$(STATS_TXT)
;
\
$(ECHO)
"Summary:
$
(UNIQUE_DIR)
"
>
$(STATS_TXT)
;
\
$(EXPAND)
$
${_summary}
|
$(EGREP)
-v
' Not run\.'
>
$(RUNLIST)
;
\
$(EGREP)
' Passed\.'
$(RUNLIST)
\
|
$(EGREP)
-v
' Error\.'
\
...
...
@@ -418,8 +418,9 @@ $(ECHO) "Running tests in othervm mode: $(call TestDirs, $?)"
$(MAKE)
TESTDIRS
=
"
$(
call
TestDirs,
$?
)
"
USE_JTREG_SAMEVM
=
false
UNIQUE_DIR
=
$@
jtreg_tests
endef
define
SummaryInfo
$(ECHO) "
Summary for
:
$?
"
$(ECHO)
"
########################################################
"
$(CAT) $(?
:
%=$(ABS_TEST_OUTPUT_DIR)/%/$(STATS_TXT_NAME))
$(ECHO)
"########################################################"
endef
# ------------------------------------------------------------------
...
...
@@ -446,10 +447,14 @@ JDK_ALL_TARGETS += jdk_beans2
jdk_beans2
:
java/beans/Beans java/beans/EventHandler java/beans/XMLDecoder
\
java/beans/PropertyEditor
$(
call
RunOthervmBatch
)
# Stable othervm testruns (minus items from PROBLEM_LIST)
# Using samevm has serious problems with these tests
JDK_ALL_TARGETS
+=
jdk_beans3
jdk_beans3
:
java/beans/XMLEncoder
$(
call
RunOthervmBatch
)
# All beans tests
jdk_beans
:
jdk_beans1 jdk_beans2 jdk_beans3
@
$(SummaryInfo)
...
...
@@ -475,6 +480,7 @@ JDK_ALL_TARGETS += jdk_management2
jdk_management2
:
com/sun/jmx com/sun/management sun/management
$(
call
RunOthervmBatch
)
# All management tests
jdk_management
:
jdk_management1 jdk_management2
@
$(SummaryInfo)
...
...
@@ -506,10 +512,14 @@ JDK_ALL_TARGETS += jdk_nio2
jdk_nio2
:
java/nio/Buffer java/nio/ByteOrder
\
java/nio/channels java/nio/BufferPoolMXBean java/nio/MappedByteBuffer
$(
call
RunOthervmBatch
)
# Stable othervm testruns (minus items from PROBLEM_LIST)
# Using samevm has serious problems with these tests
JDK_ALL_TARGETS
+=
jdk_nio3
jdk_nio3
:
com/sun/nio sun/nio
$(
call
RunOthervmBatch
)
# All nio tests
jdk_nio
:
jdk_nio1 jdk_nio2 jdk_nio3
@
$(SummaryInfo)
...
...
@@ -529,10 +539,14 @@ jdk_security1: java/security
JDK_ALL_TARGETS
+=
jdk_security2
jdk_security2
:
javax/crypto com/sun/crypto
$(
call
RunOthervmBatch
)
# Stable othervm testruns (minus items from PROBLEM_LIST)
# Using samevm has serious problems with these tests
JDK_ALL_TARGETS
+=
jdk_security3
jdk_security3
:
com/sun/security lib/security javax/security sun/security
$(
call
RunOthervmBatch
)
# All security tests
jdk_security
:
jdk_security1 jdk_security2 jdk_security3
@
$(SummaryInfo)
...
...
@@ -547,15 +561,18 @@ JDK_ALL_TARGETS += jdk_text
jdk_text
:
java/text sun/text
$(
call
RunSamevmBatch
)
# Stable othervm testruns (minus items from PROBLEM_LIST)
# Using samevm has serious problems with these tests
# Stable samevm testruns (minus items from PROBLEM_LIST)
JDK_ALL_TARGETS
+=
jdk_tools1
jdk_tools1
:
com/sun/jdi
$(
call
RunSamevmBatch
)
# Stable othervm testruns (minus items from PROBLEM_LIST)
# Using samevm has serious problems with these tests
JDK_ALL_TARGETS
+=
jdk_tools2
jdk_tools2
:
com/sun/tools sun/jvmstat sun/tools tools vm com/sun/servicetag com/sun/tracing
$(
call
RunOthervmBatch
)
# All tools tests
jdk_tools
:
jdk_tools1 jdk_tools2
@
$(SummaryInfo)
...
...
@@ -567,7 +584,9 @@ jdk_util: java/util sun/util
# ------------------------------------------------------------------
# Run all tests
jdk_all
:
$(filter-out jdk_awt jdk_rmi jdk_swing
,
$(JDK_ALL_TARGETS))
FILTER_OUT_LIST
=
jdk_awt jdk_rmi jdk_swing
JDK_ALL_STABLE_TARGETS
:=
$(
filter-out
$(FILTER_OUT_LIST)
,
$(JDK_ALL_TARGETS)
)
jdk_all
:
$(JDK_ALL_STABLE_TARGETS)
@
$(SummaryInfo)
# These are all phony targets
...
...
@@ -587,8 +606,8 @@ JTREG_BASIC_OPTIONS += -v:fail,error,time
JTREG_BASIC_OPTIONS
+=
-retain
:fail,error
# Ignore tests are not run and completely silent about it
JTREG_BASIC_OPTIONS
+=
-ignore
:quiet
# Multiple by
2
the timeout numbers
JTREG_BASIC_OPTIONS
+=
-timeoutFactor
:
2
# Multiple by
4
the timeout numbers
JTREG_BASIC_OPTIONS
+=
-timeoutFactor
:
4
# Boost the max memory for jtreg to avoid gc thrashing
JTREG_BASIC_OPTIONS
+=
-J-Xmx512m
...
...
test/ProblemList.txt
浏览文件 @
31f70419
...
...
@@ -431,6 +431,11 @@ java/lang/ClassLoader/deadlock/TestCrossDelegate.sh generic-all
# jdk_management
# Fails on Windows 2000, Test failed for iiop java.lang.NullPointerException
# at org.omg.stub.javax.management.remote.rmi._RMIConnectionImpl_Tie._invoke(Unknown Source)
# at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:653)
javax/management/remote/mandatory/connection/ReconnectTest.java generic-all
# Solaris 10 sparc, NPE from org.omg.stub.javax.management.remote.rmi._RMIConnectionImpl_Tie._invoke
javax/management/remote/mandatory/threads/ExecutorTest.java generic-all
...
...
@@ -717,6 +722,9 @@ sun/net/www/http/KeepAliveCache/KeepAliveTimerThread.java generic-all
# Connection refused, windows samevm
sun/net/www/protocol/http/DigestTest.java generic-all
# Fails on Fedora 9 32bit & 64bit & Solaris 10, wrong proxy for http://localhost/index.html
java/net/ProxySelector/B6737819.java generic-all
############################################################################
# jdk_nio
...
...
@@ -724,6 +732,29 @@ sun/net/www/protocol/http/DigestTest.java generic-all
# Suspect many of these tests auffer from using fixed ports, no concrete
# evidence.
# Fails on Windows 2000, Can't delete test directory .\x.SetLastModified.dir
# at SetLastModified.main(SetLastModified.java:107)
java/io/File/SetLastModified.java generic-all
# Fails on Solaris 10 x64, address already in use
java/nio/channels/DatagramChannel/SRTest.java generic-all
# Fails on Solaris 10 x86, times out
java/nio/channels/DatagramChannel/Sender.java generic-all
# Fails on Fedora 9 x86, address in use
java/nio/channels/Selector/SelectWrite.java generic-all
# Fails on Fedora 9 32bit times out
java/nio/channels/DatagramChannel/EmptyBuffer.java generic-all
# Fails on Windows 2000, ExceptionInInitializerError
# in WindowsAsynchronousServerSocketChannelImpl.java:316
java/nio/channels/AsynchronousChannelGroup/Unbounded.java generic-all
# Fails on Windows 2000, times out
java/nio/channels/FileChannel/Transfer.java generic-all
# Fails on OpenSolaris, IllegalStateException: Cannot add or remove addresses
# from a channel that is bound to the wildcard address
com/sun/nio/sctp/SctpChannel/Bind.java generic-all
...
...
@@ -893,6 +924,45 @@ java/rmi/server/UnicastRemoteObject/unexportObject/UnexportLeak.java generic-all
# jdk_security
# Fails on Solaris 10 X64, address already in use
sun/security/krb5/auto/HttpNegotiateServer.java generic-all
# Fails on almost all platforms
# java.lang.UnsupportedClassVersionError: SerialTest :
# Unsupported major.minor version 51.0
# at java.lang.ClassLoader.defineClass1(Native Method)
sun/security/util/Oid/S11N.sh generic-all
# Fails on Fedora 9 32bit
# GSSException: Failure unspecified at GSS-API level (Mechanism level:
# Invalid argument (400) - Cannot find key of appropriate type to decrypt
# AP REP - DES CBC mode with MD5)
# at sun.security.jgss.krb5.Krb5Context.acceptSecContext(Krb5Context.java:778)
sun/security/krb5/auto/NonMutualSpnego.java generic-all
# Fails on Solaris 10 sparc, GSSException: Failure unspecified at GSS-API level
# Also fails on Windows 2000 similar way
sun/security/krb5/auto/ok-as-delegate.sh generic-all
# Fails on Windows 2000, GSSException: Failure unspecified at GSS-API level
# (Mechanism level: Request is a replay (34))
sun/security/krb5/auto/ok-as-delegate-xrealm.sh generic-all
# Fails on Windows 2000, ExceptionInInitializerError
sun/security/mscapi/AccessKeyStore.sh generic-all
# Fails on Windows 2000, UnsatisfiedLinkError: libnspr4.dll: Access is denied
sun/security/pkcs11/KeyAgreement/TestDH.java generic-all
# Fails on Windows 2000, UnsatisfiedLinkError: libnspr4.dll: Access is denied
sun/security/pkcs11/fips/ClientJSSEServerJSSE.java generic-all
# Fails on Solaris 10, KrbException: Additional pre-authentication required (25)
sun/security/krb5/auto/basic.sh generic-all
# Fails on Fedora 9 64bit, PKCS11Exception: CKR_DEVICE_ERROR
sun/security/pkcs11/KeyAgreement/TestDH.java generic-all
# Run too slow on Solaris 10 sparc
sun/security/ssl/com/sun/net/ssl/internal/ssl/InputRecord/SSLSocketTimeoutNulls.java solaris-sparc
sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLSocketImpl/ClientTimeout.java solaris-sparc
...
...
@@ -1088,6 +1158,13 @@ java/text/Bidi/Bug6665028.java linux-x64
# So most if not all tools tests are now being run with "othervm" mode.
# Some of these tools tests have a tendency to use fixed ports, bad idea.
# Fails on Fedora 9 32bit, jps output differs problem
sun/tools/jstatd/jstatdDefaults.sh generic-all
# Fails on Linux Fedora 9 32bit, Could not read data for remote JVM 16133
# jstat output differs from expected output
sun/tools/jstatd/jstatdExternalRegistry.sh generic-all
# Output of jps differs from expected output.
# Invalid argument count on solaris-sparc and x64
sun/tools/jstatd/jstatdPort.sh generic-all
...
...
@@ -1099,6 +1176,11 @@ sun/tools/jps/jps-lm.sh generic-all
sun/tools/jps/jps-Vvml_2.sh generic-all
sun/tools/jps/jps-m_2.sh generic-all
# Fails on Solaris 10 sparcv9, shell exits with 1
# Turning off use of shared archive because of choice of garbage collector or large pages
# Could not synchronize with target
sun/tools/jps/jps-v_1.sh generic-all
# Fails on OpenSolaris "Could not synchronize with target"
sun/tools/jps/jps-Defaults.sh generic-all
sun/tools/jps/jps-V_2.sh generic-all
...
...
test/com/sun/jdi/NoLaunchOptionTest.java
浏览文件 @
31f70419
...
...
@@ -31,6 +31,9 @@
* @build VMConnection
* @run main/othervm NoLaunchOptionTest
*/
import
java.net.ServerSocket
;
public
class
NoLaunchOptionTest
extends
Object
{
private
Process
subprocess
;
private
int
subprocessStatus
;
...
...
@@ -121,12 +124,19 @@ public class NoLaunchOptionTest extends Object {
}
public
static
void
main
(
String
[]
args
)
throws
Exception
{
// find a free port
ServerSocket
ss
=
new
ServerSocket
(
0
);
int
port
=
ss
.
getLocalPort
();
ss
.
close
();
String
address
=
String
.
valueOf
(
port
);
String
javaExe
=
System
.
getProperty
(
"java.home"
)
+
java
.
io
.
File
.
separator
+
"bin"
+
java
.
io
.
File
.
separator
+
"java"
;
String
targetClass
=
"NotAClass"
;
String
cmds
[]
=
{
javaExe
,
"-agentlib:jdwp=transport=dt_socket,address=8000,"
+
"-agentlib:jdwp=transport=dt_socket,address="
+
address
+
","
+
"onthrow=java.lang.ClassNotFoundException,suspend=n"
,
targetClass
};
NoLaunchOptionTest
myTest
=
new
NoLaunchOptionTest
();
...
...
test/com/sun/jdi/OptionTest.java
浏览文件 @
31f70419
...
...
@@ -32,6 +32,9 @@
* @run compile -g VMConnection.java
* @run main/othervm OptionTest
*/
import
java.net.ServerSocket
;
public
class
OptionTest
extends
Object
{
private
Process
subprocess
;
private
int
subprocessStatus
;
...
...
@@ -122,12 +125,18 @@ public class OptionTest extends Object {
}
public
static
void
main
(
String
[]
args
)
throws
Exception
{
// find a free port
ServerSocket
ss
=
new
ServerSocket
(
0
);
int
port
=
ss
.
getLocalPort
();
ss
.
close
();
String
address
=
String
.
valueOf
(
port
);
String
javaExe
=
System
.
getProperty
(
"java.home"
)
+
java
.
io
.
File
.
separator
+
"bin"
+
java
.
io
.
File
.
separator
+
"java"
;
String
targetClass
=
"HelloWorld"
;
String
baseOptions
=
"transport=dt_socket"
+
",address=
8000"
+
",address=
"
+
address
+
",server=y"
+
",suspend=n"
;
...
...
test/sun/tools/jhat/HatRun.java
浏览文件 @
31f70419
...
...
@@ -166,8 +166,10 @@ public class HatRun {
jre_home
);
String
cdir
=
System
.
getProperty
(
"test.classes"
,
"."
);
String
os_arch
=
System
.
getProperty
(
"os.arch"
);
boolean
d64
=
os_arch
.
equals
(
"sparcv9"
)
||
os_arch
.
equals
(
"amd64"
);
String
os_name
=
System
.
getProperty
(
"os.name"
);
boolean
d64
=
os_name
.
equals
(
"SunOS"
)
&&
(
os_arch
.
equals
(
"sparcv9"
)
||
os_arch
.
equals
(
"amd64"
));
String
isa_dir
=
d64
?(
File
.
separator
+
os_arch
):
""
;
String
java
=
jre_home
+
File
.
separator
+
"bin"
+
isa_dir
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录