Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
424ae0ef
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看板
提交
424ae0ef
编写于
3月 04, 2018
作者:
R
robm
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8198963: Fix new rmi property name
Reviewed-by: smarks
上级
7d7fd064
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
5 addition
and
7 deletion
+5
-7
src/share/classes/sun/rmi/transport/tcp/TCPTransport.java
src/share/classes/sun/rmi/transport/tcp/TCPTransport.java
+1
-1
test/sun/rmi/transport/proxy/EagerHttpFallback.java
test/sun/rmi/transport/proxy/EagerHttpFallback.java
+1
-3
test/sun/rmi/transport/tcp/DisableRMIOverHttp/DisableRMIOverHTTPTest.java
...nsport/tcp/DisableRMIOverHttp/DisableRMIOverHTTPTest.java
+2
-2
test/sun/rmi/transport/tcp/blockAccept/BlockAcceptTest.java
test/sun/rmi/transport/tcp/blockAccept/BlockAcceptTest.java
+1
-1
未找到文件。
src/share/classes/sun/rmi/transport/tcp/TCPTransport.java
浏览文件 @
424ae0ef
...
...
@@ -121,7 +121,7 @@ public class TCPTransport extends Transport {
private
static
final
boolean
disableIncomingHttp
=
java
.
security
.
AccessController
.
doPrivileged
(
new
GetPropertyAction
(
"
java
.rmi.server.disableIncomingHttp"
,
"true"
))
new
GetPropertyAction
(
"
sun
.rmi.server.disableIncomingHttp"
,
"true"
))
.
equalsIgnoreCase
(
"true"
);
/** total connections handled */
...
...
test/sun/rmi/transport/proxy/EagerHttpFallback.java
浏览文件 @
424ae0ef
...
...
@@ -28,7 +28,7 @@
*
* @library ../../../../java/rmi/testlibrary
* @build TestLibrary
* @run main/othervm -D
java
.rmi.server.disableIncomingHttp=false EagerHttpFallback
* @run main/othervm -D
sun
.rmi.server.disableIncomingHttp=false EagerHttpFallback
*/
import
java.rmi.*
;
...
...
@@ -46,8 +46,6 @@ public class EagerHttpFallback {
"true"
);
LocateRegistry
.
createRegistry
(
FALLBACK_PORT
);
System
.
err
.
println
(
"1-DISABLED: "
+
System
.
getProperty
(
"java.rmi.server.disableIncomingHttp"
));
/*
* The call below should trigger a ConnectException in the
* RMIMasterSocketFactory when it attempts a direct connection to
...
...
test/sun/rmi/transport/tcp/DisableRMIOverHttp/DisableRMIOverHTTPTest.java
浏览文件 @
424ae0ef
...
...
@@ -29,7 +29,7 @@
* @library ../../../../../java/rmi/testlibrary
* @build TestIface TestImpl
* @run main/othervm/timeout=60 DisableRMIOverHTTPTest
* @run main/othervm/timeout=60 -D
java
.rmi.server.disableIncomingHttp=false DisableRMIOverHTTPTest
* @run main/othervm/timeout=60 -D
sun
.rmi.server.disableIncomingHttp=false DisableRMIOverHTTPTest
*/
/*
...
...
@@ -60,7 +60,7 @@ public class DisableRMIOverHTTPTest
boolean
incomingHttpDisabled
=
Boolean
.
valueOf
(
System
.
getProperty
(
"
java
.rmi.server.disableIncomingHttp"
,
"true"
)
"
sun
.rmi.server.disableIncomingHttp"
,
"true"
)
.
equalsIgnoreCase
(
"true"
));
// Set the socket factory.
...
...
test/sun/rmi/transport/tcp/blockAccept/BlockAcceptTest.java
浏览文件 @
424ae0ef
...
...
@@ -29,7 +29,7 @@
*
* @library ../../../../../java/rmi/testlibrary
* @build TestIface TestImpl TestImpl_Stub
* @run main/othervm/policy=security.policy/timeout=60 -D
java
.rmi.server.disableIncomingHttp=false BlockAcceptTest
* @run main/othervm/policy=security.policy/timeout=60 -D
sun
.rmi.server.disableIncomingHttp=false BlockAcceptTest
*/
/* This test attempts to stymie the RMI accept loop. The accept loop in
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录