Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
6ccf5ac2
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看板
提交
6ccf5ac2
编写于
6月 22, 2010
作者:
D
dcubed
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
e64e8985
8c192d05
变更
5
展开全部
隐藏空白更改
内联
并排
Showing
5 changed file
with
1170 addition
and
566 deletion
+1170
-566
make/common/shared/Defs-javadoc.gmk
make/common/shared/Defs-javadoc.gmk
+93
-0
make/docs/Makefile
make/docs/Makefile
+1060
-553
test/ProblemList.txt
test/ProblemList.txt
+0
-9
test/sun/nio/cs/FindDecoderBugs.java
test/sun/nio/cs/FindDecoderBugs.java
+4
-1
test/sun/nio/cs/TestX11CNS.java
test/sun/nio/cs/TestX11CNS.java
+13
-3
未找到文件。
make/common/shared/Defs-javadoc.gmk
0 → 100644
浏览文件 @
6ccf5ac2
#
# Copyright (c) 1997, 2010, 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. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# 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.
#
# Copyright year for beginning of Java and some of the apis
# (Needed when creating the javadocs)
FIRST_COPYRIGHT_YEAR = 1993
DOMAPI_FIRST_COPYRIGHT_YEAR = 2005
MIRROR_FIRST_COPYRIGHT_YEAR = 2004
DOCLETAPI_FIRST_COPYRIGHT_YEAR = 1993
TAGLETAPI_FIRST_COPYRIGHT_YEAR = 1993
JDI_FIRST_COPYRIGHT_YEAR = 1999
JAAS_FIRST_COPYRIGHT_YEAR = 1998
JGSS_FIRST_COPYRIGHT_YEAR = 2000
SMARTCARDIO_FIRST_COPYRIGHT_YEAR = 2005
HTTPSERVER_FIRST_COPYRIGHT_YEAR = 2005
MGMT_FIRST_COPYRIGHT_YEAR = 2003
ATTACH_FIRST_COPYRIGHT_YEAR = 2005
JCONSOLE_FIRST_COPYRIGHT_YEAR = 2006
SCTPAPI_FIRST_COPYRIGHT_YEAR = 2009
TRACING_FIRST_COPYRIGHT_YEAR = 2008
TREEAPI_FIRST_COPYRIGHT_YEAR = 2005
JNLP_FIRST_COPYRIGHT_YEAR = 1998
PLUGIN2_FIRST_COPYRIGHT_YEAR = 2007
# Oracle name
COMPANY_NAME = Oracle and/or its affiliates
# Copyright address
COMPANY_ADDRESS = 500 Oracle Parkway<br>Redwood Shores, CA 94065 USA.
# The trademark symbol
TRADEMARK = ™
# Common copyright lines used
# The word "Copyright" might optionally be a link to the file cpyr.html.
# The first year of copyright may vary or not be available.
# The address to the company might be optional.
COMMA:= ,
EMPTY:=
SPACE:=$(EMPTY) $(EMPTY)
COPYRIGHT_SYMBOL = &\#x00a9;
# Macros to handle the optional empty args.
# (The GNU make 3.78.1 "if" conditional is broken, fixed in GNU make 3.81)
define OptionalCopyrightUrl # url
$(shell \
if [ "$1" != "" ] ; then \
printf "<a href=\"%s\">Copyright</a>" "$1"; \
else \
printf "Copyright"; \
fi)
endef
define OptionalCopyrightFirstYear # year
$(shell \
if [ "$1" != "" ] ; then \
printf "%s," "$1";\
fi)
endef
define OptionalCompanyAddress # address
$(shell \
if [ "$1" != "" ] ; then \
printf "%s" "$1";\
fi)
endef
define CopyrightLine # optionalurl optionalfirstyear optionaladdress
$(call OptionalCopyrightUrl,$1) $(COPYRIGHT_SYMBOL)\
$(call OptionalCopyrightFirstYear,$2) $(COPYRIGHT_YEAR),\
$(COMPANY_NAME).\
$(call OptionalCompanyAddress,$3)\
All rights reserved.
endef
make/docs/Makefile
浏览文件 @
6ccf5ac2
此差异已折叠。
点击以展开。
test/ProblemList.txt
浏览文件 @
6ccf5ac2
...
...
@@ -533,18 +533,12 @@ com/sun/nio/sctp/SctpChannel/Bind.java generic-all
# Failed on OpenSolaris, java.lang.AssertionError: Unknown event type
com/sun/nio/sctp/SctpChannel/Receive.java generic-all
# Triggers a hotspot crash on Fedora 9 32bit -server and Windows X64 samevm
sun/nio/cs/TestUTF8.java generic-all
# Runtime exception on windows X64, samevm mode
java/nio/channels/Selector/WakeupNow.java generic-all
# Occasional errors, solarix x86, address already in use, othervm mode
java/nio/channels/Selector/SelectorTest.java generic-all
# Fails on Linux Fedora 9 X64
sun/nio/cs/FindDecoderBugs.java generic-all
# Solaris 11 gave assert error and "connection refused", samevm issues?
com/sun/nio/sctp/SctpServerChannel/NonBlockingAccept.java generic-all
...
...
@@ -595,9 +589,6 @@ java/nio/channels/SocketChannel/FinishConnect.java windows-all
# Fails on all platforms due to overlap of JDK jar file contents:
sun/nio/cs/Test4200310.sh generic-all
# Depends on motif packages that do not exist all the time:
sun/nio/cs/TestX11CNS.java generic-all
############################################################################
# jdk_rmi
...
...
test/sun/nio/cs/FindDecoderBugs.java
浏览文件 @
6ccf5ac2
...
...
@@ -298,7 +298,7 @@ public class FindDecoderBugs {
void
testRandomly
(
byte
[]
prefix
,
int
n
)
{
int
len
=
prefix
.
length
;
byte
[]
ia
=
Arrays
.
copyOf
(
prefix
,
len
+
n
);
for
(
int
i
=
0
;
i
<
10
000
;
i
++)
{
for
(
int
i
=
0
;
i
<
5
000
;
i
++)
{
for
(
int
j
=
0
;
j
<
n
;
j
++)
ia
[
len
+
j
]
=
randomByte
();
test
(
ia
);
...
...
@@ -435,6 +435,9 @@ public class FindDecoderBugs {
static
void
equal
(
Object
x
,
Object
y
)
{
if
(
x
==
null
?
y
==
null
:
x
.
equals
(
y
))
pass
();
else
fail
(
x
+
" not equal to "
+
y
);}
static
void
equal
(
int
x
,
int
y
)
{
if
(
x
==
y
)
pass
();
else
fail
(
x
+
" not equal to "
+
y
);}
public
static
void
main
(
String
[]
args
)
throws
Throwable
{
try
{
realMain
(
args
);}
catch
(
Throwable
t
)
{
unexpected
(
t
);}
System
.
out
.
printf
(
"%nPassed = %d, failed = %d%n%n"
,
passed
,
failed
);
...
...
test/sun/nio/cs/TestX11CNS.java
浏览文件 @
6ccf5ac2
...
...
@@ -94,6 +94,8 @@ public class TestX11CNS {
}
static
void
compare
(
Charset
newCS
,
Charset
oldCS
)
throws
Exception
{
if
(
newCS
==
null
)
return
;
// does not exist on this platform
char
[]
cc
=
getChars
(
newCS
,
oldCS
);
System
.
out
.
printf
(
" Diff <%s> <%s>...%n"
,
newCS
.
name
(),
oldCS
.
name
());
...
...
@@ -120,14 +122,22 @@ public class TestX11CNS {
}
}
private
static
Charset
getCharset
(
String
czName
)
throws
Exception
{
try
{
return
(
Charset
)
Class
.
forName
(
czName
).
newInstance
();
}
catch
(
ClassNotFoundException
e
){}
return
null
;
// does not exist
}
public
static
void
main
(
String
[]
args
)
throws
Exception
{
compare
(
new
sun
.
awt
.
motif
.
X11CNS11643P1
(
),
compare
(
getCharset
(
"sun.awt.motif.X11CNS11643P1"
),
new
X11CNS11643P1
());
compare
(
new
sun
.
awt
.
motif
.
X11CNS11643P2
(
),
compare
(
getCharset
(
"sun.awt.motif.X11CNS11643P2"
),
new
X11CNS11643P2
());
compare
(
new
sun
.
awt
.
motif
.
X11CNS11643P3
(
),
compare
(
getCharset
(
"sun.awt.motif.X11CNS11643P3"
),
new
X11CNS11643P3
());
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录