Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_corba
提交
1b3ec278
D
dragonwell8_corba
项目概览
openanolis
/
dragonwell8_corba
通知
2
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_corba
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
1b3ec278
编写于
2月 28, 2014
作者:
A
asaha
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
d770dbd3
9bf662bf
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
25 addition
and
7 deletion
+25
-7
.hgtags
.hgtags
+1
-0
src/share/classes/com/sun/corba/se/spi/orb/ORB.java
src/share/classes/com/sun/corba/se/spi/orb/ORB.java
+24
-7
未找到文件。
.hgtags
浏览文件 @
1b3ec278
...
...
@@ -251,6 +251,7 @@ a7d3638deb2f4e33217b1ecf889479e90f9e5b50 jdk8-b121
b8c71dae05574f8eca7ca6d703b16b450850b033 jdk8-b127
113e7569b49bca18846e5e5b74e644580b805902 jdk8-b128
5c72d74c6805d1b4f6192f7a3550d126acf37005 jdk8-b129
0683ee308085785d0455f4153e764e062843f178 jdk8-b130
5de8d42f9eb7ddcdc741445f3c21a63887d694b6 jdk8u5-b01
c750098a3ef18de28a6d739666559f0333c76c78 jdk8u5-b02
3d9b40a53134aa33031bf13581dff9fccade9048 jdk8u5-b03
...
...
src/share/classes/com/sun/corba/se/spi/orb/ORB.java
浏览文件 @
1b3ec278
/*
* Copyright (c) 2002, 201
3
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 201
4
, 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
...
...
@@ -170,6 +170,12 @@ public abstract class ORB extends com.sun.corba.se.org.omg.CORBA.ORB
// representing LogDomain and ExceptionGroup.
private
Map
wrapperMap
;
static
class
Holder
{
static
final
PresentationManager
defaultPresentationManager
=
setupPresentationManager
();
}
private
static
final
Object
pmLock
=
new
Object
();
private
static
Map
staticWrapperMap
=
new
ConcurrentHashMap
();
protected
MonitoringManager
monitoringManager
;
...
...
@@ -235,13 +241,24 @@ public abstract class ORB extends com.sun.corba.se.org.omg.CORBA.ORB
*/
public
static
PresentationManager
getPresentationManager
()
{
AppContext
ac
=
AppContext
.
getAppContext
();
PresentationManager
pm
=
(
PresentationManager
)
ac
.
get
(
PresentationManager
.
class
);
if
(
pm
==
null
)
{
pm
=
setupPresentationManager
();
ac
.
put
(
PresentationManager
.
class
,
pm
);
SecurityManager
sm
=
System
.
getSecurityManager
();
if
(
sm
!=
null
&&
AppContext
.
getAppContexts
().
size
()
>
0
)
{
AppContext
ac
=
AppContext
.
getAppContext
();
if
(
ac
!=
null
)
{
synchronized
(
pmLock
)
{
PresentationManager
pm
=
(
PresentationManager
)
ac
.
get
(
PresentationManager
.
class
);
if
(
pm
==
null
)
{
pm
=
setupPresentationManager
();
ac
.
put
(
PresentationManager
.
class
,
pm
);
}
return
pm
;
}
}
}
return
pm
;
// No security manager or AppContext
return
Holder
.
defaultPresentationManager
;
}
/** Get the appropriate StubFactoryFactory. This
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录