Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_corba
提交
9764ec09
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,发现更多精彩内容 >>
提交
9764ec09
编写于
6月 17, 2013
作者:
C
chegar
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
ab939788
6b4a965f
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
58 addition
and
2 deletion
+58
-2
.hgtags
.hgtags
+2
-0
src/share/classes/com/sun/corba/se/impl/javax/rmi/CORBA/StubDelegateImpl.java
...m/sun/corba/se/impl/javax/rmi/CORBA/StubDelegateImpl.java
+8
-0
src/share/classes/com/sun/corba/se/impl/orb/ParserTable.java
src/share/classes/com/sun/corba/se/impl/orb/ParserTable.java
+31
-0
src/share/classes/com/sun/corba/se/impl/orbutil/RepIdDelegator.java
...classes/com/sun/corba/se/impl/orbutil/RepIdDelegator.java
+12
-2
src/share/classes/sun/rmi/rmic/iiop/CompoundType.java
src/share/classes/sun/rmi/rmic/iiop/CompoundType.java
+5
-0
未找到文件。
.hgtags
浏览文件 @
9764ec09
...
...
@@ -214,3 +214,5 @@ fe4150590ee597f4e125fea950aa3b352622cc2d jdk8-b89
c8286839d0df04aba819ec4bef12b86babccf30e jdk8-b90
8f7ffb296385f85a4a6d53f9f2d4a7b13a8fa1ff jdk8-b91
717aa26f8e0a1c0e768aebb3a763aca56db0c83e jdk8-b92
8dc9d7ccbb2d77fd89bc321bb02e67c152aca257 jdk8-b93
22f5d7f261d9d61a953d2d9a53f2e9ce0ca361d1 jdk8-b94
src/share/classes/com/sun/corba/se/impl/javax/rmi/CORBA/StubDelegateImpl.java
浏览文件 @
9764ec09
...
...
@@ -147,6 +147,14 @@ public class StubDelegateImpl implements javax.rmi.CORBA.StubDelegate
return
ior
.
equals
(
other
.
ior
)
;
}
public
int
hashCode
()
{
if
(
ior
==
null
)
{
return
0
;
}
else
{
return
ior
.
hashCode
();
}
}
/**
* Returns a string representation of this stub. Returns the same string
* for all stubs that represent the same remote object.
...
...
src/share/classes/com/sun/corba/se/impl/orb/ParserTable.java
浏览文件 @
9764ec09
...
...
@@ -456,6 +456,10 @@ public class ParserTable {
return
other
instanceof
TestBadServerIdHandler
;
}
public
int
hashCode
()
{
return
1
;
}
public
void
handle
(
ObjectKey
objectKey
)
{
}
...
...
@@ -519,6 +523,10 @@ public class ParserTable {
return
other
instanceof
TestLegacyORBSocketFactory
;
}
public
int
hashCode
()
{
return
1
;
}
public
ServerSocket
createServerSocket
(
String
type
,
int
port
)
{
return
null
;
...
...
@@ -544,6 +552,10 @@ public class ParserTable {
return
other
instanceof
TestORBSocketFactory
;
}
public
int
hashCode
()
{
return
1
;
}
public
void
setORB
(
ORB
orb
)
{
}
...
...
@@ -573,6 +585,10 @@ public class ParserTable {
return
other
instanceof
TestIORToSocketInfo
;
}
public
int
hashCode
()
{
return
1
;
}
public
List
getSocketInfo
(
IOR
ior
)
{
return
null
;
...
...
@@ -609,6 +625,10 @@ public class ParserTable {
return
other
instanceof
TestContactInfoListFactory
;
}
public
int
hashCode
()
{
return
1
;
}
public
void
setORB
(
ORB
orb
)
{
}
public
CorbaContactInfoList
create
(
IOR
ior
)
{
return
null
;
}
...
...
@@ -869,6 +889,10 @@ public class ParserTable {
return
other
instanceof
TestORBInitializer1
;
}
public
int
hashCode
()
{
return
1
;
}
public
void
pre_init
(
ORBInitInfo
info
)
{
}
...
...
@@ -886,6 +910,10 @@ public class ParserTable {
return
other
instanceof
TestORBInitializer2
;
}
public
int
hashCode
()
{
return
1
;
}
public
void
pre_init
(
ORBInitInfo
info
)
{
}
...
...
@@ -954,6 +982,8 @@ public class ParserTable {
{
return
other
instanceof
TestAcceptor1
;
}
public
int
hashCode
()
{
return
1
;
}
public
boolean
initialize
()
{
return
true
;
}
public
boolean
initialized
()
{
return
true
;
}
public
String
getConnectionCacheType
()
{
return
"FOO"
;
}
...
...
@@ -985,6 +1015,7 @@ public class ParserTable {
{
return
other
instanceof
TestAcceptor2
;
}
public
int
hashCode
()
{
return
1
;
}
public
boolean
initialize
()
{
return
true
;
}
public
boolean
initialized
()
{
return
true
;
}
public
String
getConnectionCacheType
()
{
return
"FOO"
;
}
...
...
src/share/classes/com/sun/corba/se/impl/orbutil/RepIdDelegator.java
浏览文件 @
9764ec09
...
...
@@ -151,7 +151,9 @@ public final class RepIdDelegator
}
// Constructor used for factory/utility cases
public
RepIdDelegator
()
{}
public
RepIdDelegator
()
{
this
(
null
);
}
// Constructor used by getIdFromString. All non-static
// RepositoryId methods will use the provided delegate.
...
...
@@ -159,7 +161,7 @@ public final class RepIdDelegator
this
.
delegate
=
_delegate
;
}
private
RepositoryId
delegate
;
private
final
RepositoryId
delegate
;
public
String
toString
()
{
if
(
delegate
!=
null
)
...
...
@@ -174,4 +176,12 @@ public final class RepIdDelegator
else
return
super
.
equals
(
obj
);
}
public
int
hashCode
()
{
if
(
delegate
!=
null
)
{
return
delegate
.
hashCode
();
}
else
{
return
super
.
hashCode
();
}
}
}
src/share/classes/sun/rmi/rmic/iiop/CompoundType.java
浏览文件 @
9764ec09
...
...
@@ -32,6 +32,7 @@
package
sun.rmi.rmic.iiop
;
import
java.util.Arrays
;
import
java.util.Vector
;
import
sun.tools.java.Identifier
;
import
sun.tools.java.ClassNotFound
;
...
...
@@ -1851,6 +1852,10 @@ public abstract class CompoundType extends Type {
return
false
;
}
public
int
hashCode
()
{
return
getName
().
hashCode
()
^
Arrays
.
hashCode
(
arguments
);
}
/**
* Return a new Method object that is a legal combination of
* this method object and another one.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录