Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
a616d60d
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
a616d60d
编写于
7月 08, 2010
作者:
A
asaha
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
261e4236
efa64dfd
变更
13
展开全部
隐藏空白更改
内联
并排
Showing
13 changed file
with
2203 addition
and
1406 deletion
+2203
-1406
make/java/security/Makefile
make/java/security/Makefile
+16
-2
src/share/classes/java/beans/XMLDecoder.java
src/share/classes/java/beans/XMLDecoder.java
+1
-1
src/share/classes/java/beans/XMLEncoder.java
src/share/classes/java/beans/XMLEncoder.java
+1
-1
src/share/classes/java/io/ObjectInput.java
src/share/classes/java/io/ObjectInput.java
+1
-1
src/share/classes/java/io/ObjectOutput.java
src/share/classes/java/io/ObjectOutput.java
+1
-1
src/share/classes/java/util/DualPivotQuicksort.java
src/share/classes/java/util/DualPivotQuicksort.java
+1733
-1274
src/share/classes/java/util/Scanner.java
src/share/classes/java/util/Scanner.java
+1
-1
src/share/classes/javax/sound/midi/MidiDevice.java
src/share/classes/javax/sound/midi/MidiDevice.java
+1
-1
src/share/classes/javax/sound/midi/Receiver.java
src/share/classes/javax/sound/midi/Receiver.java
+1
-1
src/share/classes/javax/sound/midi/Transmitter.java
src/share/classes/javax/sound/midi/Transmitter.java
+1
-1
src/share/classes/javax/sound/sampled/Line.java
src/share/classes/javax/sound/sampled/Line.java
+1
-1
test/java/util/Arrays/Sorting.java
test/java/util/Arrays/Sorting.java
+440
-120
test/tools/launcher/UnicodeTest.sh
test/tools/launcher/UnicodeTest.sh
+5
-1
未找到文件。
make/java/security/Makefile
浏览文件 @
a616d60d
#
# Copyright (c) 1996, 20
05,
Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 1996, 20
10
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
...
...
@@ -62,6 +62,11 @@ POLICY_BUILD = $(LIBDIR)/security/java.policy
CACERTS_SRC
=
$(CACERTS_FILE)
CACERTS_BUILD
=
$(LIBDIR)
/security/cacerts
ifndef
OPENJDK
BLACKLIST_SRC
=
$(CLOSED_SHARE_SRC)
/lib/security/blacklist
BLACKLIST_BUILD
=
$(LIBDIR)
/security/blacklist
endif
FILES_class
=
$
(
FILES_java:%.java
=
$(CLASSBINDIR)
/%.class
)
#
...
...
@@ -69,7 +74,11 @@ FILES_class = $(FILES_java:%.java=$(CLASSBINDIR)/%.class)
#
include
$(BUILDDIR)/common/Rules.gmk
ifdef
OPENJDK
build
:
properties policy cacerts
else
build
:
properties policy cacerts blacklist
endif
install
:
all
...
...
@@ -79,6 +88,8 @@ policy: classes $(POLICY_BUILD)
cacerts
:
classes $(CACERTS_BUILD)
blacklist
:
classes $(BLACKLIST_BUILD)
$(PROPS_BUILD)
:
$(PROPS_SRC)
$
(
install-file
)
...
...
@@ -88,9 +99,12 @@ $(POLICY_BUILD): $(POLICY_SRC)
$(CACERTS_BUILD)
:
$(CACERTS_SRC)
$
(
install-file
)
$(BLACKLIST_BUILD)
:
$(BLACKLIST_SRC)
$
(
install-file
)
clean clobber
::
.delete.classlist
$(RM)
-r
$(CLASSBINDIR)
/java/security
$(RM)
$(PROPS_BUILD)
$(POLICY_BUILD)
$(CACERTS_BUILD)
$(RM)
$(PROPS_BUILD)
$(POLICY_BUILD)
$(CACERTS_BUILD)
$(BLACKLIST_BUILD)
# Additional Rule for building sun.security.util
$(CLASSBINDIR)/%.class
:
$(SHARE_SRC)/sun/%.java
...
...
src/share/classes/java/beans/XMLDecoder.java
浏览文件 @
a616d60d
...
...
@@ -60,7 +60,7 @@ import org.xml.sax.helpers.DefaultHandler;
*
* @author Philip Milne
*/
public
class
XMLDecoder
{
public
class
XMLDecoder
implements
AutoCloseable
{
private
final
DocumentHandler
handler
=
new
DocumentHandler
();
private
final
InputSource
input
;
private
Object
owner
;
...
...
src/share/classes/java/beans/XMLEncoder.java
浏览文件 @
a616d60d
...
...
@@ -204,7 +204,7 @@ import java.nio.charset.UnsupportedCharsetException;
*
* @author Philip Milne
*/
public
class
XMLEncoder
extends
Encoder
{
public
class
XMLEncoder
extends
Encoder
implements
AutoCloseable
{
private
final
CharsetEncoder
encoder
;
private
final
String
charset
;
...
...
src/share/classes/java/io/ObjectInput.java
浏览文件 @
a616d60d
...
...
@@ -36,7 +36,7 @@ package java.io;
* @see java.io.ObjectInputStream
* @since JDK1.1
*/
public
interface
ObjectInput
extends
DataInput
{
public
interface
ObjectInput
extends
DataInput
,
AutoCloseable
{
/**
* Read and return an object. The class that implements this interface
* defines where the object is "read" from.
...
...
src/share/classes/java/io/ObjectOutput.java
浏览文件 @
a616d60d
...
...
@@ -36,7 +36,7 @@ package java.io;
* @see java.io.ObjectInputStream
* @since JDK1.1
*/
public
interface
ObjectOutput
extends
DataOutput
{
public
interface
ObjectOutput
extends
DataOutput
,
AutoCloseable
{
/**
* Write an object to the underlying storage or stream. The
* class that implements this interface defines how the object is
...
...
src/share/classes/java/util/DualPivotQuicksort.java
浏览文件 @
a616d60d
此差异已折叠。
点击以展开。
src/share/classes/java/util/Scanner.java
浏览文件 @
a616d60d
...
...
@@ -343,7 +343,7 @@ import sun.misc.LRUCache;
*
* @since 1.5
*/
public
final
class
Scanner
implements
Iterator
<
String
>
{
public
final
class
Scanner
implements
Iterator
<
String
>
,
Closeable
{
// Internal buffer used to hold input
private
CharBuffer
buf
;
...
...
src/share/classes/javax/sound/midi/MidiDevice.java
浏览文件 @
a616d60d
...
...
@@ -107,7 +107,7 @@ import java.util.List;
* @author Florian Bomers
*/
public
interface
MidiDevice
{
public
interface
MidiDevice
extends
AutoCloseable
{
/**
...
...
src/share/classes/javax/sound/midi/Receiver.java
浏览文件 @
a616d60d
...
...
@@ -38,7 +38,7 @@ package javax.sound.midi;
*
* @author Kara Kytle
*/
public
interface
Receiver
{
public
interface
Receiver
extends
AutoCloseable
{
//$$fb 2002-04-12: fix for 4662090: Contradiction in Receiver specification
...
...
src/share/classes/javax/sound/midi/Transmitter.java
浏览文件 @
a616d60d
...
...
@@ -35,7 +35,7 @@ package javax.sound.midi;
*
* @author Kara Kytle
*/
public
interface
Transmitter
{
public
interface
Transmitter
extends
AutoCloseable
{
/**
...
...
src/share/classes/javax/sound/sampled/Line.java
浏览文件 @
a616d60d
...
...
@@ -70,7 +70,7 @@ package javax.sound.sampled;
* @see LineEvent
* @since 1.3
*/
public
interface
Line
{
public
interface
Line
extends
AutoCloseable
{
/**
* Obtains the <code>Line.Info</code> object describing this
...
...
test/java/util/Arrays/Sorting.java
浏览文件 @
a616d60d
此差异已折叠。
点击以展开。
test/tools/launcher/UnicodeTest.sh
浏览文件 @
a616d60d
...
...
@@ -54,7 +54,11 @@ mkdir UnicodeTest-src UnicodeTest-classes
echo
"creating test source files"
"
$JAVAC
"
-d
.
"
${
TESTSRC
}
"
/UnicodeTest.java
CLASS_NAME
=
`
"
$JAVA
"
UnicodeTest |
sed
-e
's@\\r@@g'
`
if
[
"
`
uname
-s
|
grep
CYGWIN
`
"
!=
""
]
;
then
CLASS_NAME
=
`
"
$JAVA
"
UnicodeTest |
sed
-e
's@\\r@@g'
`
else
CLASS_NAME
=
`
"
$JAVA
"
UnicodeTest
`
fi
if
[
"
$CLASS_NAME
"
=
""
]
then
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录