Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
6b8eb115
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看板
提交
6b8eb115
编写于
3月 12, 2012
作者:
A
alanb
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
7152866: Tests not run because they are missing the @run tag
Reviewed-by: chegar, dholmes
上级
68cce9ac
变更
13
显示空白变更内容
内联
并排
Showing
13 changed file
with
7 addition
and
149 deletion
+7
-149
test/ProblemList.txt
test/ProblemList.txt
+1
-10
test/java/io/File/isDirectory/Applet.html
test/java/io/File/isDirectory/Applet.html
+0
-2
test/java/io/Serializable/badSubstByReplace/BadSubstByReplace.java
.../io/Serializable/badSubstByReplace/BadSubstByReplace.java
+0
-1
test/java/io/Serializable/replaceStringArray/ReplaceStringArray.java
...o/Serializable/replaceStringArray/ReplaceStringArray.java
+0
-1
test/java/io/Serializable/replaceWithNull/ReplaceWithNull.java
...java/io/Serializable/replaceWithNull/ReplaceWithNull.java
+0
-1
test/java/io/Serializable/verifyDynamicObjHandleTable/VerifyDynamicObjHandleTable.java
...ifyDynamicObjHandleTable/VerifyDynamicObjHandleTable.java
+0
-1
test/java/nio/file/Files/CustomOptions.java
test/java/nio/file/Files/CustomOptions.java
+1
-0
test/java/text/Bidi/Bug6850113.java
test/java/text/Bidi/Bug6850113.java
+1
-0
test/javax/naming/spi/DirectoryManager/GetContDirCtx.java
test/javax/naming/spi/DirectoryManager/GetContDirCtx.java
+1
-0
test/sun/misc/Cleaner/exitOnThrow.sh
test/sun/misc/Cleaner/exitOnThrow.sh
+1
-0
test/sun/nio/cs/OLD/TestIBMDB.java
test/sun/nio/cs/OLD/TestIBMDB.java
+1
-0
test/sun/nio/cs/OLD/TestX11CS.java
test/sun/nio/cs/OLD/TestX11CS.java
+0
-133
test/sun/security/ssl/com/sun/net/ssl/SSLSecurity/ProviderTest.java
...ecurity/ssl/com/sun/net/ssl/SSLSecurity/ProviderTest.java
+1
-0
未找到文件。
test/ProblemList.txt
浏览文件 @
6b8eb115
...
@@ -212,7 +212,7 @@ java/io/File/MaxPathLength.java windows-all
...
@@ -212,7 +212,7 @@ java/io/File/MaxPathLength.java windows-all
# 7076644
# 7076644
java/io/File/Basic.java windows-all
java/io/File/Basic.java windows-all
# Test needs AWT window server, does not work headless
#
7145435 -
Test needs AWT window server, does not work headless
java/io/Serializable/resolveClass/deserializeButton/run.sh macosx-all
java/io/Serializable/resolveClass/deserializeButton/run.sh macosx-all
############################################################################
############################################################################
...
@@ -225,9 +225,6 @@ java/nio/channels/Selector/Wakeup.java windows-all
...
@@ -225,9 +225,6 @@ java/nio/channels/Selector/Wakeup.java windows-all
# 7052549
# 7052549
java/nio/channels/FileChannel/ReleaseOnCloseDeadlock.java windows-all
java/nio/channels/FileChannel/ReleaseOnCloseDeadlock.java windows-all
# 6963118
java/nio/channels/Selector/Wakeup.java windows-all
# 7133499, 7133497
# 7133499, 7133497
java/nio/channels/AsyncCloseAndInterrupt.java macosx-all
java/nio/channels/AsyncCloseAndInterrupt.java macosx-all
java/nio/channels/AsynchronousFileChannel/Lock.java macosx-all
java/nio/channels/AsynchronousFileChannel/Lock.java macosx-all
...
@@ -259,9 +256,6 @@ java/rmi/registry/readTest/readTest.sh windows-all
...
@@ -259,9 +256,6 @@ java/rmi/registry/readTest/readTest.sh windows-all
# jdk_security
# jdk_security
# 7145024
sun/security/ssl/com/sun/net/ssl/internal/ssl/GenSSLConfigs/main.java solaris-all
# 7147060
# 7147060
com/sun/org/apache/xml/internal/security/transforms/ClassLoaderTest.java generic-all
com/sun/org/apache/xml/internal/security/transforms/ClassLoaderTest.java generic-all
...
@@ -305,9 +299,6 @@ sun/security/ssl/sanity/interop/ClientJSSEServerJSSE.java generic-all
...
@@ -305,9 +299,6 @@ sun/security/ssl/sanity/interop/ClientJSSEServerJSSE.java generic-all
# 7079203 sun/security/tools/keytool/printssl.sh fails on solaris with timeout
# 7079203 sun/security/tools/keytool/printssl.sh fails on solaris with timeout
sun/security/tools/keytool/printssl.sh solaris-all
sun/security/tools/keytool/printssl.sh solaris-all
# 7081817
sun/security/provider/certpath/X509CertPath/IllegalCertiticates.java generic-all
# 7041639, Solaris DSA keypair generation bug (Note: jdk_util also affected)
# 7041639, Solaris DSA keypair generation bug (Note: jdk_util also affected)
java/security/KeyPairGenerator/SolarisShortDSA.java solaris-all
java/security/KeyPairGenerator/SolarisShortDSA.java solaris-all
sun/security/tools/jarsigner/onlymanifest.sh solaris-all
sun/security/tools/jarsigner/onlymanifest.sh solaris-all
...
...
test/java/io/File/isDirectory/Applet.html
已删除
100644 → 0
浏览文件 @
68cce9ac
<!---->
<applet
code=
Applet.class
width=
100
height=
100
></applet>
test/java/io/Serializable/badSubstByReplace/BadSubstByReplace.java
浏览文件 @
6b8eb115
...
@@ -22,7 +22,6 @@
...
@@ -22,7 +22,6 @@
*/
*/
/* @test
/* @test
* @clean A B Container ReplacerObjectOutputStream
* @summary Verify that ClassCastException is thrown when deserializing
* @summary Verify that ClassCastException is thrown when deserializing
* an object and one of its object fields is incompatibly replaced
* an object and one of its object fields is incompatibly replaced
* by either replaceObject/resolveObject.
* by either replaceObject/resolveObject.
...
...
test/java/io/Serializable/replaceStringArray/ReplaceStringArray.java
浏览文件 @
6b8eb115
...
@@ -22,7 +22,6 @@
...
@@ -22,7 +22,6 @@
*/
*/
/* @test
/* @test
* @clean A SubstituteObjectOutputStream SubstituteObjectInputStream
* @bug 4099013
* @bug 4099013
* @summary Enable substitution of String and Array by ObjectStreams.
* @summary Enable substitution of String and Array by ObjectStreams.
*/
*/
...
...
test/java/io/Serializable/replaceWithNull/ReplaceWithNull.java
浏览文件 @
6b8eb115
...
@@ -23,7 +23,6 @@
...
@@ -23,7 +23,6 @@
/* @test
/* @test
* @bug 4065313
* @bug 4065313
* @clean A ReplaceWithNull MyObjectOutputStream
* @summary Ensure that it is okay to replace an object with null.
* @summary Ensure that it is okay to replace an object with null.
*/
*/
import
java.io.*
;
import
java.io.*
;
...
...
test/java/io/Serializable/verifyDynamicObjHandleTable/VerifyDynamicObjHandleTable.java
浏览文件 @
6b8eb115
...
@@ -22,7 +22,6 @@
...
@@ -22,7 +22,6 @@
*/
*/
/* @test
/* @test
* @clean A
* @bug 4146453
* @bug 4146453
* @summary Test that regrow of object/handle table of ObjectOutputStream works.
* @summary Test that regrow of object/handle table of ObjectOutputStream works.
*/
*/
...
...
test/java/nio/file/Files/CustomOptions.java
浏览文件 @
6b8eb115
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
* @author Brandon Passanisi
* @author Brandon Passanisi
* @library ..
* @library ..
* @build CustomOptions PassThroughFileSystem
* @build CustomOptions PassThroughFileSystem
* @run main CustomOptions
*/
*/
import
java.io.IOException
;
import
java.io.IOException
;
...
...
test/java/text/Bidi/Bug6850113.java
浏览文件 @
6b8eb115
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
* @bug 6850113
* @bug 6850113
* @summary Verify the return value of digit() for some digits.
* @summary Verify the return value of digit() for some digits.
* @compile -XDignore.symbol.file=true Bug6850113.java
* @compile -XDignore.symbol.file=true Bug6850113.java
* @run main Bug6850113
*/
*/
import
sun.text.normalizer.UCharacter
;
import
sun.text.normalizer.UCharacter
;
...
...
test/javax/naming/spi/DirectoryManager/GetContDirCtx.java
浏览文件 @
6b8eb115
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
* @bug 4241676
* @bug 4241676
* @summary getContinuationDirContext() should set CPE environment property.
* @summary getContinuationDirContext() should set CPE environment property.
* @build DummyObjectFactory DummyContext
* @build DummyObjectFactory DummyContext
* @run main/othervm GetContDirCtx
*/
*/
import
java.util.Hashtable
;
import
java.util.Hashtable
;
...
...
test/sun/misc/Cleaner/exitOnThrow.sh
浏览文件 @
6b8eb115
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
# @summary Ensure that if a cleaner throws an exception then the VM exits
# @summary Ensure that if a cleaner throws an exception then the VM exits
#
#
# @build ExitOnThrow
# @build ExitOnThrow
# @run shell exitOnThrow.sh
# Command-line usage: sh exitOnThrow.sh /path/to/build
# Command-line usage: sh exitOnThrow.sh /path/to/build
...
...
test/sun/nio/cs/OLD/TestIBMDB.java
浏览文件 @
6b8eb115
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
* @bug 6843578
* @bug 6843578
* @summary Test IBM DB charsets
* @summary Test IBM DB charsets
* @build IBM930_OLD IBM933_OLD IBM935_OLD IBM937_OLD IBM939_OLD IBM942_OLD IBM943_OLD IBM948_OLD IBM949_OLD IBM950_OLD IBM970_OLD IBM942C_OLD IBM943C_OLD IBM949C_OLD IBM1381_OLD IBM1383_OLD EUC_CN_OLD EUC_KR_OLD GBK_OLD Johab_OLD MS932_OLD MS936_OLD MS949_OLD MS950_OLD
* @build IBM930_OLD IBM933_OLD IBM935_OLD IBM937_OLD IBM939_OLD IBM942_OLD IBM943_OLD IBM948_OLD IBM949_OLD IBM950_OLD IBM970_OLD IBM942C_OLD IBM943C_OLD IBM949C_OLD IBM1381_OLD IBM1383_OLD EUC_CN_OLD EUC_KR_OLD GBK_OLD Johab_OLD MS932_OLD MS936_OLD MS949_OLD MS950_OLD
* @run main TestIBMDB
*/
*/
import
java.nio.charset.*
;
import
java.nio.charset.*
;
...
...
test/sun/nio/cs/OLD/TestX11CS.java
已删除
100644 → 0
浏览文件 @
68cce9ac
/*
* Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 1234567
* @summary Test updated X11 charsets
* @build X11GB2312_OLD X11GBK_OLD X11KSC5601_OLD
*/
import
java.nio.charset.*
;
import
java.nio.*
;
import
java.util.*
;
public
class
TestX11CS
{
static
char
[]
decode
(
byte
[]
bb
,
Charset
cs
)
throws
Exception
{
CharsetDecoder
dec
=
cs
.
newDecoder
();
ByteBuffer
bbf
=
ByteBuffer
.
wrap
(
bb
);
CharBuffer
cbf
=
CharBuffer
.
allocate
(
bb
.
length
);
CoderResult
cr
=
dec
.
decode
(
bbf
,
cbf
,
true
);
if
(
cr
!=
CoderResult
.
UNDERFLOW
)
{
System
.
out
.
println
(
"DEC-----------------"
);
int
pos
=
bbf
.
position
();
System
.
out
.
printf
(
" cr=%s, bbf.pos=%d, bb[pos]=%x,%x,%x,%x%n"
,
cr
.
toString
(),
pos
,
bb
[
pos
++]&
0xff
,
bb
[
pos
++]&
0xff
,
bb
[
pos
++]&
0xff
,
bb
[
pos
++]&
0xff
);
throw
new
RuntimeException
(
"Decoding err: "
+
cs
.
name
());
}
char
[]
cc
=
new
char
[
cbf
.
position
()];
cbf
.
flip
();
cbf
.
get
(
cc
);
return
cc
;
}
static
byte
[]
encode
(
char
[]
cc
,
Charset
cs
)
throws
Exception
{
ByteBuffer
bbf
=
ByteBuffer
.
allocate
(
cc
.
length
*
4
);
CharBuffer
cbf
=
CharBuffer
.
wrap
(
cc
);
CharsetEncoder
enc
=
cs
.
newEncoder
();
CoderResult
cr
=
enc
.
encode
(
cbf
,
bbf
,
true
);
if
(
cr
!=
CoderResult
.
UNDERFLOW
)
{
System
.
out
.
println
(
"ENC-----------------"
);
int
pos
=
cbf
.
position
();
System
.
out
.
printf
(
" cr=%s, cbf.pos=%d, cc[pos]=%x%n"
,
cr
.
toString
(),
pos
,
cc
[
pos
]&
0xffff
);
throw
new
RuntimeException
(
"Encoding err: "
+
cs
.
name
());
}
byte
[]
bb
=
new
byte
[
bbf
.
position
()];
bbf
.
flip
();
bbf
.
get
(
bb
);
return
bb
;
}
static
char
[]
getChars
(
Charset
newCS
,
Charset
oldCS
)
{
CharsetEncoder
enc
=
oldCS
.
newEncoder
();
CharsetEncoder
encNew
=
newCS
.
newEncoder
();
char
[]
cc
=
new
char
[
0x10000
];
int
pos
=
0
;
int
i
=
0
;
while
(
i
<
0x10000
)
{
if
(
enc
.
canEncode
((
char
)
i
)
!=
encNew
.
canEncode
((
char
)
i
))
{
System
.
out
.
printf
(
" Err i=%x%n"
,
i
);
//throw new RuntimeException("canEncode() err!");
}
if
(
enc
.
canEncode
((
char
)
i
))
{
cc
[
pos
++]
=
(
char
)
i
;
}
i
++;
}
return
Arrays
.
copyOf
(
cc
,
pos
);
}
static
void
compare
(
Charset
newCS
,
Charset
oldCS
)
throws
Exception
{
System
.
out
.
printf
(
" Diff <%s> <%s>...%n"
,
newCS
.
name
(),
oldCS
.
name
());
char
[]
cc
=
getChars
(
newCS
,
oldCS
);
byte
[]
bb1
=
encode
(
cc
,
newCS
);
byte
[]
bb2
=
encode
(
cc
,
oldCS
);
if
(!
Arrays
.
equals
(
bb1
,
bb2
))
{
System
.
out
.
printf
(
" encoding failed!%n"
);
}
char
[]
cc1
=
decode
(
bb1
,
newCS
);
char
[]
cc2
=
decode
(
bb1
,
oldCS
);
if
(!
Arrays
.
equals
(
cc1
,
cc2
))
{
for
(
int
i
=
0
;
i
<
cc1
.
length
;
i
++)
{
if
(
cc1
[
i
]
!=
cc2
[
i
])
{
System
.
out
.
printf
(
"i=%d, cc1=%x cc2=%x, bb=<%x%x>%n"
,
i
,
cc1
[
i
]&
0xffff
,
cc2
[
i
]&
0xffff
,
bb1
[
i
*
2
]&
0xff
,
bb1
[
i
*
2
+
1
]&
0xff
);
}
}
System
.
out
.
printf
(
" decoding failed%n"
);
}
}
public
static
void
main
(
String
[]
args
)
throws
Exception
{
compare
(
new
sun
.
awt
.
motif
.
X11GBK
(),
new
X11GBK_OLD
());
compare
(
new
sun
.
awt
.
motif
.
X11GB2312
(),
new
X11GB2312_OLD
());
compare
(
new
sun
.
awt
.
motif
.
X11KSC5601
(),
new
X11KSC5601_OLD
());
}
}
test/sun/security/ssl/com/sun/net/ssl/SSLSecurity/ProviderTest.java
浏览文件 @
6b8eb115
...
@@ -27,6 +27,7 @@
...
@@ -27,6 +27,7 @@
* @compile JavaxSSLContextImpl.java ComSSLContextImpl.java
* @compile JavaxSSLContextImpl.java ComSSLContextImpl.java
* JavaxTrustManagerFactoryImpl.java ComTrustManagerFactoryImpl.java
* JavaxTrustManagerFactoryImpl.java ComTrustManagerFactoryImpl.java
* JavaxKeyManagerFactoryImpl.java ComKeyManagerFactoryImpl.java
* JavaxKeyManagerFactoryImpl.java ComKeyManagerFactoryImpl.java
* @run main ProviderTest
* @summary brokenness in the com.sun.net.ssl.SSLSecurity wrappers
* @summary brokenness in the com.sun.net.ssl.SSLSecurity wrappers
*/
*/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录