Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
2dee6671
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看板
提交
2dee6671
编写于
5月 26, 2009
作者:
M
mchung
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
6829636: test/java/util/logging/LoggingDeadlock2.java is flaky
Summary: remove @ignore Reviewed-by: swamyv
上级
36a90084
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
23 addition
and
4 deletion
+23
-4
src/share/classes/java/net/URLConnection.java
src/share/classes/java/net/URLConnection.java
+4
-3
test/Makefile
test/Makefile
+19
-0
test/java/util/logging/LoggingDeadlock2.java
test/java/util/logging/LoggingDeadlock2.java
+0
-1
未找到文件。
src/share/classes/java/net/URLConnection.java
浏览文件 @
2dee6671
...
@@ -1237,7 +1237,6 @@ public abstract class URLConnection {
...
@@ -1237,7 +1237,6 @@ public abstract class URLConnection {
}
}
private
static
Hashtable
handlers
=
new
Hashtable
();
private
static
Hashtable
handlers
=
new
Hashtable
();
private
static
final
ContentHandler
UnknownContentHandlerP
=
new
UnknownContentHandler
();
/**
/**
* Gets the Content Handler appropriate for this connection.
* Gets the Content Handler appropriate for this connection.
...
@@ -1264,7 +1263,7 @@ public abstract class URLConnection {
...
@@ -1264,7 +1263,7 @@ public abstract class URLConnection {
handler
=
lookupContentHandlerClassFor
(
contentType
);
handler
=
lookupContentHandlerClassFor
(
contentType
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
handler
=
UnknownContentHandler
P
;
handler
=
UnknownContentHandler
.
INSTANCE
;
}
}
handlers
.
put
(
contentType
,
handler
);
handlers
.
put
(
contentType
,
handler
);
}
}
...
@@ -1335,7 +1334,7 @@ public abstract class URLConnection {
...
@@ -1335,7 +1334,7 @@ public abstract class URLConnection {
}
}
}
}
return
UnknownContentHandler
P
;
return
UnknownContentHandler
.
INSTANCE
;
}
}
/**
/**
...
@@ -1761,6 +1760,8 @@ public abstract class URLConnection {
...
@@ -1761,6 +1760,8 @@ public abstract class URLConnection {
class
UnknownContentHandler
extends
ContentHandler
{
class
UnknownContentHandler
extends
ContentHandler
{
static
final
ContentHandler
INSTANCE
=
new
UnknownContentHandler
();
public
Object
getContent
(
URLConnection
uc
)
throws
IOException
{
public
Object
getContent
(
URLConnection
uc
)
throws
IOException
{
return
uc
.
getInputStream
();
return
uc
.
getInputStream
();
}
}
...
...
test/Makefile
浏览文件 @
2dee6671
...
@@ -228,6 +228,25 @@ PHONY_LIST += packtest packtest_stress
...
@@ -228,6 +228,25 @@ PHONY_LIST += packtest packtest_stress
################################################################
################################################################
# perftest to collect statistics
# Expect JPRT to set JPRT_PACKTEST_HOME.
PERFTEST_HOME
=
${TEST_ROOT}
/perf
ifdef
JPRT_PERFTEST_HOME
PERFTEST_HOME
=
$(JPRT_PERFTEST_HOME)
endif
perftest
:
( $(PERFTEST_HOME)/perftest
\
-t $(shell $(GETMIXEDPATH) "$(PRODUCT_HOME)")
\
-w $(shell $(GETMIXEDPATH) "$(ABS_TEST_OUTPUT_DIR)")
\
-h $(PERFTEST_HOME)
\
) ; $(BUNDLE_UP_AND_EXIT)
PHONY_LIST
+=
perftest
################################################################
# vmsqe tests
# vmsqe tests
# Expect JPRT to set JPRT_VMSQE_HOME.
# Expect JPRT to set JPRT_VMSQE_HOME.
...
...
test/java/util/logging/LoggingDeadlock2.java
浏览文件 @
2dee6671
...
@@ -24,7 +24,6 @@
...
@@ -24,7 +24,6 @@
/*
/*
* @test
* @test
* @bug 6467152 6716076 6829503
* @bug 6467152 6716076 6829503
* @ignore Until made more stable, see 6829636.
* @summary deadlock occurs in LogManager initialization and JVM termination
* @summary deadlock occurs in LogManager initialization and JVM termination
* @author Serguei Spitsyn / Hitachi / Martin Buchholz
* @author Serguei Spitsyn / Hitachi / Martin Buchholz
*
*
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录