Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_corba
提交
ddd0e826
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,发现更多精彩内容 >>
提交
ddd0e826
编写于
3月 28, 2012
作者:
M
mbankal
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
7079902: Refine CORBA data models
Reviewed-by: coffeys
上级
e3bc337a
变更
12
隐藏空白更改
内联
并排
Showing
12 changed file
with
93 addition
and
50 deletion
+93
-50
src/share/classes/com/sun/corba/se/impl/interceptors/ClientRequestInfoImpl.java
...sun/corba/se/impl/interceptors/ClientRequestInfoImpl.java
+2
-2
src/share/classes/com/sun/corba/se/impl/interceptors/ServerRequestInfoImpl.java
...sun/corba/se/impl/interceptors/ServerRequestInfoImpl.java
+2
-2
src/share/classes/com/sun/corba/se/impl/javax/rmi/CORBA/Util.java
...e/classes/com/sun/corba/se/impl/javax/rmi/CORBA/Util.java
+16
-3
src/share/classes/com/sun/corba/se/impl/oa/poa/POAPolicyMediatorBase_R.java
...com/sun/corba/se/impl/oa/poa/POAPolicyMediatorBase_R.java
+3
-3
src/share/classes/com/sun/corba/se/impl/oa/toa/TOAFactory.java
...hare/classes/com/sun/corba/se/impl/oa/toa/TOAFactory.java
+3
-3
src/share/classes/com/sun/corba/se/impl/orb/ParserTable.java
src/share/classes/com/sun/corba/se/impl/orb/ParserTable.java
+4
-2
src/share/classes/com/sun/corba/se/impl/orbutil/RepositoryId_1_3.java
...asses/com/sun/corba/se/impl/orbutil/RepositoryId_1_3.java
+9
-9
src/share/classes/com/sun/corba/se/impl/orbutil/RepositoryId_1_3_1.java
...ses/com/sun/corba/se/impl/orbutil/RepositoryId_1_3_1.java
+9
-9
src/share/classes/com/sun/corba/se/impl/protocol/LocalClientRequestDispatcherBase.java
...ba/se/impl/protocol/LocalClientRequestDispatcherBase.java
+2
-2
src/share/classes/com/sun/corba/se/impl/util/RepositoryId.java
...hare/classes/com/sun/corba/se/impl/util/RepositoryId.java
+10
-10
src/share/classes/com/sun/corba/se/spi/logging/CORBALogDomains.java
...classes/com/sun/corba/se/spi/logging/CORBALogDomains.java
+2
-2
src/share/classes/sun/rmi/rmic/iiop/IDLNames.java
src/share/classes/sun/rmi/rmic/iiop/IDLNames.java
+31
-3
未找到文件。
src/share/classes/com/sun/corba/se/impl/interceptors/ClientRequestInfoImpl.java
浏览文件 @
ddd0e826
/*
* Copyright (c) 2000, 201
0
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 201
2
, 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
...
...
@@ -217,7 +217,7 @@ public final class ClientRequestInfoImpl
// ClientRequestInfo validity table (see ptc/00-08-06 table 21-1).
// Note: These must be in the same order as specified in contants.
pr
otected
static
final
boolean
validCall
[][]
=
{
pr
ivate
static
final
boolean
validCall
[][]
=
{
// LEGEND:
// s_req = send_request r_rep = receive_reply
// s_pol = send_poll r_exc = receive_exception
...
...
src/share/classes/com/sun/corba/se/impl/interceptors/ServerRequestInfoImpl.java
浏览文件 @
ddd0e826
/*
* Copyright (c) 2000, 20
03
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 20
12
, 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
...
...
@@ -195,7 +195,7 @@ public final class ServerRequestInfoImpl
// ServerRequestInfo validity table (see ptc/00-08-06 table 21-2).
// Note: These must be in the same order as specified in contants.
pr
otected
static
final
boolean
validCall
[][]
=
{
pr
ivate
static
final
boolean
validCall
[][]
=
{
// LEGEND:
// r_rsc = receive_request_service_contexts
// r_req = receive_request
...
...
src/share/classes/com/sun/corba/se/impl/javax/rmi/CORBA/Util.java
浏览文件 @
ddd0e826
/*
* Copyright (c) 1999, 20
04
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1999, 20
12
, 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
...
...
@@ -130,10 +130,23 @@ public class Util implements javax.rmi.CORBA.UtilDelegate
private
UtilSystemException
utilWrapper
=
UtilSystemException
.
get
(
CORBALogDomains
.
RPC_ENCODING
);
p
ublic
static
Util
instance
=
null
;
p
rivate
static
Util
instance
=
null
;
public
Util
()
{
instance
=
this
;
setInstance
(
this
);
}
private
static
void
setInstance
(
Util
util
)
{
assert
instance
==
null
:
"Instance already defined"
;
instance
=
util
;
}
public
static
Util
getInstance
()
{
return
instance
;
}
public
static
boolean
isInstanceDefined
()
{
return
instance
!=
null
;
}
// Used by TOAFactory.shutdown to unexport all targets for this
...
...
src/share/classes/com/sun/corba/se/impl/oa/poa/POAPolicyMediatorBase_R.java
浏览文件 @
ddd0e826
/*
* Copyright (c) 2002, 201
0
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 201
2
, 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
...
...
@@ -93,7 +93,7 @@ public abstract class POAPolicyMediatorBase_R extends POAPolicyMediatorBase {
activeObjectMap
.
putServant
(
servant
,
entry
)
;
if
(
Util
.
i
nstance
!=
null
)
{
if
(
Util
.
i
sInstanceDefined
()
)
{
POAManagerImpl
pm
=
(
POAManagerImpl
)
poa
.
the_POAManager
()
;
POAFactory
factory
=
pm
.
getFactory
()
;
factory
.
registerPOAForServant
(
poa
,
servant
);
...
...
@@ -129,7 +129,7 @@ public abstract class POAPolicyMediatorBase_R extends POAPolicyMediatorBase {
activeObjectMap
.
remove
(
key
);
if
(
Util
.
i
nstance
!=
null
)
{
if
(
Util
.
i
sInstanceDefined
()
)
{
POAManagerImpl
pm
=
(
POAManagerImpl
)
poa
.
the_POAManager
()
;
POAFactory
factory
=
pm
.
getFactory
()
;
factory
.
unregisterPOAForServant
(
poa
,
s
);
...
...
src/share/classes/com/sun/corba/se/impl/oa/toa/TOAFactory.java
浏览文件 @
ddd0e826
/*
* Copyright (c) 2002, 20
03
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 20
12
, 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
...
...
@@ -78,8 +78,8 @@ public class TOAFactory implements ObjectAdapterFactory
public
void
shutdown
(
boolean
waitForCompletion
)
{
if
(
Util
.
i
nstance
!=
null
)
{
Util
.
instance
.
unregisterTargetsForORB
(
orb
);
if
(
Util
.
i
sInstanceDefined
()
)
{
Util
.
getInstance
()
.
unregisterTargetsForORB
(
orb
);
}
}
...
...
src/share/classes/com/sun/corba/se/impl/orb/ParserTable.java
浏览文件 @
ddd0e826
/*
* Copyright (c) 2002, 20
06
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 20
12
, 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
...
...
@@ -106,7 +106,9 @@ public class ParserTable {
public
ParserData
[]
getParserData
()
{
return
parserData
;
ParserData
[]
parserArray
=
new
ParserData
[
parserData
.
length
];
System
.
arraycopy
(
parserData
,
0
,
parserArray
,
0
,
parserData
.
length
);
return
parserArray
;
}
private
ParserTable
()
{
...
...
src/share/classes/com/sun/corba/se/impl/orbutil/RepositoryId_1_3.java
浏览文件 @
ddd0e826
/*
* Copyright (c) 2000, 20
0
2, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 20
1
2, 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,7 +62,7 @@ public class RepositoryId_1_3 {
// legal use of '.' in a Java name.
public
static
final
RepositoryIdCache_1_3
cache
=
new
RepositoryIdCache_1_3
();
p
ublic
static
final
byte
[]
IDL_IDENTIFIER_CHARS
=
{
p
rivate
static
final
byte
[]
IDL_IDENTIFIER_CHARS
=
{
// 0 1 2 3 4 5 6 7 8 9 a b c d e f
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
// 00-0f
...
...
@@ -180,7 +180,7 @@ public class RepositoryId_1_3 {
public
static
final
String
kRemoteTypeStr
=
""
;
public
static
final
String
kRemoteValueRepID
=
""
;
p
ublic
static
final
Hashtable
kSpecialArrayTypeStrings
=
new
Hashtable
();
p
rivate
static
final
Hashtable
kSpecialArrayTypeStrings
=
new
Hashtable
();
static
{
kSpecialArrayTypeStrings
.
put
(
"CORBA.WStringValue"
,
new
StringBuffer
(
java
.
lang
.
String
.
class
.
getName
()));
...
...
@@ -189,7 +189,7 @@ public class RepositoryId_1_3 {
}
p
ublic
static
final
Hashtable
kSpecialCasesRepIDs
=
new
Hashtable
();
p
rivate
static
final
Hashtable
kSpecialCasesRepIDs
=
new
Hashtable
();
static
{
kSpecialCasesRepIDs
.
put
(
java
.
lang
.
String
.
class
,
kWStringValueRepID
);
...
...
@@ -197,7 +197,7 @@ public class RepositoryId_1_3 {
kSpecialCasesRepIDs
.
put
(
java
.
rmi
.
Remote
.
class
,
kRemoteValueRepID
);
}
p
ublic
static
final
Hashtable
kSpecialCasesStubValues
=
new
Hashtable
();
p
rivate
static
final
Hashtable
kSpecialCasesStubValues
=
new
Hashtable
();
static
{
kSpecialCasesStubValues
.
put
(
java
.
lang
.
String
.
class
,
kWStringStubValue
);
...
...
@@ -209,7 +209,7 @@ public class RepositoryId_1_3 {
}
p
ublic
static
final
Hashtable
kSpecialCasesVersions
=
new
Hashtable
();
p
rivate
static
final
Hashtable
kSpecialCasesVersions
=
new
Hashtable
();
static
{
kSpecialCasesVersions
.
put
(
java
.
lang
.
String
.
class
,
kWStringValueHash
);
...
...
@@ -220,7 +220,7 @@ public class RepositoryId_1_3 {
kSpecialCasesVersions
.
put
(
java
.
rmi
.
Remote
.
class
,
kRemoteValueHash
);
}
p
ublic
static
final
Hashtable
kSpecialCasesClasses
=
new
Hashtable
();
p
rivate
static
final
Hashtable
kSpecialCasesClasses
=
new
Hashtable
();
static
{
kSpecialCasesClasses
.
put
(
kWStringTypeStr
,
java
.
lang
.
String
.
class
);
...
...
@@ -232,7 +232,7 @@ public class RepositoryId_1_3 {
//kSpecialCasesClasses.put(kRemoteTypeStr, java.rmi.Remote.class);
}
p
ublic
static
final
Hashtable
kSpecialCasesArrayPrefix
=
new
Hashtable
();
p
rivate
static
final
Hashtable
kSpecialCasesArrayPrefix
=
new
Hashtable
();
static
{
kSpecialCasesArrayPrefix
.
put
(
java
.
lang
.
String
.
class
,
kValuePrefix
+
kSequencePrefix
+
kCORBAPrefix
);
...
...
@@ -243,7 +243,7 @@ public class RepositoryId_1_3 {
kSpecialCasesArrayPrefix
.
put
(
java
.
rmi
.
Remote
.
class
,
kValuePrefix
+
kSequencePrefix
+
kCORBAPrefix
);
}
p
ublic
static
final
Hashtable
kSpecialPrimitives
=
new
Hashtable
();
p
rivate
static
final
Hashtable
kSpecialPrimitives
=
new
Hashtable
();
static
{
kSpecialPrimitives
.
put
(
"int"
,
"long"
);
...
...
src/share/classes/com/sun/corba/se/impl/orbutil/RepositoryId_1_3_1.java
浏览文件 @
ddd0e826
/*
* Copyright (c) 2001, 20
0
2, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2001, 20
1
2, 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
...
...
@@ -63,7 +63,7 @@ public class RepositoryId_1_3_1 {
// uniformly, and is safe because that is the only
// legal use of '.' in a Java name.
p
ublic
static
final
byte
[]
IDL_IDENTIFIER_CHARS
=
{
p
rivate
static
final
byte
[]
IDL_IDENTIFIER_CHARS
=
{
// 0 1 2 3 4 5 6 7 8 9 a b c d e f
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
// 00-0f
...
...
@@ -198,7 +198,7 @@ public class RepositoryId_1_3_1 {
public
static
final
String
kRemoteTypeStr
=
""
;
public
static
final
String
kRemoteValueRepID
=
""
;
p
ublic
static
final
Hashtable
kSpecialArrayTypeStrings
=
new
Hashtable
();
p
rivate
static
final
Hashtable
kSpecialArrayTypeStrings
=
new
Hashtable
();
static
{
kSpecialArrayTypeStrings
.
put
(
"CORBA.WStringValue"
,
new
StringBuffer
(
java
.
lang
.
String
.
class
.
getName
()));
...
...
@@ -207,7 +207,7 @@ public class RepositoryId_1_3_1 {
}
p
ublic
static
final
Hashtable
kSpecialCasesRepIDs
=
new
Hashtable
();
p
rivate
static
final
Hashtable
kSpecialCasesRepIDs
=
new
Hashtable
();
static
{
kSpecialCasesRepIDs
.
put
(
java
.
lang
.
String
.
class
,
kWStringValueRepID
);
...
...
@@ -215,7 +215,7 @@ public class RepositoryId_1_3_1 {
kSpecialCasesRepIDs
.
put
(
java
.
rmi
.
Remote
.
class
,
kRemoteValueRepID
);
}
p
ublic
static
final
Hashtable
kSpecialCasesStubValues
=
new
Hashtable
();
p
rivate
static
final
Hashtable
kSpecialCasesStubValues
=
new
Hashtable
();
static
{
kSpecialCasesStubValues
.
put
(
java
.
lang
.
String
.
class
,
kWStringStubValue
);
...
...
@@ -227,7 +227,7 @@ public class RepositoryId_1_3_1 {
}
p
ublic
static
final
Hashtable
kSpecialCasesVersions
=
new
Hashtable
();
p
rivate
static
final
Hashtable
kSpecialCasesVersions
=
new
Hashtable
();
static
{
kSpecialCasesVersions
.
put
(
java
.
lang
.
String
.
class
,
kWStringValueHash
);
...
...
@@ -238,7 +238,7 @@ public class RepositoryId_1_3_1 {
kSpecialCasesVersions
.
put
(
java
.
rmi
.
Remote
.
class
,
kRemoteValueHash
);
}
p
ublic
static
final
Hashtable
kSpecialCasesClasses
=
new
Hashtable
();
p
rivate
static
final
Hashtable
kSpecialCasesClasses
=
new
Hashtable
();
static
{
kSpecialCasesClasses
.
put
(
kWStringTypeStr
,
java
.
lang
.
String
.
class
);
...
...
@@ -250,7 +250,7 @@ public class RepositoryId_1_3_1 {
//kSpecialCasesClasses.put(kRemoteTypeStr, java.rmi.Remote.class);
}
p
ublic
static
final
Hashtable
kSpecialCasesArrayPrefix
=
new
Hashtable
();
p
rivate
static
final
Hashtable
kSpecialCasesArrayPrefix
=
new
Hashtable
();
static
{
kSpecialCasesArrayPrefix
.
put
(
java
.
lang
.
String
.
class
,
kValuePrefix
+
kSequencePrefix
+
kCORBAPrefix
);
...
...
@@ -261,7 +261,7 @@ public class RepositoryId_1_3_1 {
kSpecialCasesArrayPrefix
.
put
(
java
.
rmi
.
Remote
.
class
,
kValuePrefix
+
kSequencePrefix
+
kCORBAPrefix
);
}
p
ublic
static
final
Hashtable
kSpecialPrimitives
=
new
Hashtable
();
p
rivate
static
final
Hashtable
kSpecialPrimitives
=
new
Hashtable
();
static
{
kSpecialPrimitives
.
put
(
"int"
,
"long"
);
...
...
src/share/classes/com/sun/corba/se/impl/protocol/LocalClientRequestDispatcherBase.java
浏览文件 @
ddd0e826
/*
* Copyright (c) 2002, 20
03
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 20
12
, 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
...
...
@@ -52,7 +52,7 @@ public abstract class LocalClientRequestDispatcherBase implements LocalClientReq
// If isNextIsLocalValid.get() == Boolean.TRUE,
// the next call to isLocal should be valid
pr
otected
static
ThreadLocal
isNextCallValid
=
new
ThreadLocal
()
{
pr
ivate
static
final
ThreadLocal
isNextCallValid
=
new
ThreadLocal
()
{
protected
synchronized
Object
initialValue
()
{
return
Boolean
.
TRUE
;
}
...
...
src/share/classes/com/sun/corba/se/impl/util/RepositoryId.java
浏览文件 @
ddd0e826
/*
* Copyright (c) 1998, 20
04
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 20
12
, 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
...
...
@@ -57,7 +57,7 @@ public class RepositoryId {
// uniformly, and is safe because that is the only
// legal use of '.' in a Java name.
p
ublic
static
final
byte
[]
IDL_IDENTIFIER_CHARS
=
{
p
rivate
static
final
byte
[]
IDL_IDENTIFIER_CHARS
=
{
// 0 1 2 3 4 5 6 7 8 9 a b c d e f
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
// 00-0f
...
...
@@ -95,7 +95,7 @@ public class RepositoryId {
private
static
IdentityHashtable
classIDLToRepStr
=
new
IdentityHashtable
();
private
static
IdentityHashtable
classSeqToRepStr
=
new
IdentityHashtable
();
private
static
IdentityHashtable
repStrToByteArray
=
new
IdentityHashtable
();
private
static
final
IdentityHashtable
repStrToByteArray
=
new
IdentityHashtable
();
private
static
Hashtable
repStrToClass
=
new
Hashtable
();
private
String
repId
=
null
;
...
...
@@ -192,7 +192,7 @@ public class RepositoryId {
public
static
final
String
kRemoteTypeStr
=
""
;
public
static
final
String
kRemoteValueRepID
=
""
;
p
ublic
static
final
Hashtable
kSpecialArrayTypeStrings
=
new
Hashtable
();
p
rivate
static
final
Hashtable
kSpecialArrayTypeStrings
=
new
Hashtable
();
static
{
kSpecialArrayTypeStrings
.
put
(
"CORBA.WStringValue"
,
new
StringBuffer
(
java
.
lang
.
String
.
class
.
getName
()));
...
...
@@ -201,7 +201,7 @@ public class RepositoryId {
}
p
ublic
static
final
Hashtable
kSpecialCasesRepIDs
=
new
Hashtable
();
p
rivate
static
final
Hashtable
kSpecialCasesRepIDs
=
new
Hashtable
();
static
{
kSpecialCasesRepIDs
.
put
(
java
.
lang
.
String
.
class
,
kWStringValueRepID
);
...
...
@@ -209,7 +209,7 @@ public class RepositoryId {
kSpecialCasesRepIDs
.
put
(
java
.
rmi
.
Remote
.
class
,
kRemoteValueRepID
);
}
p
ublic
static
final
Hashtable
kSpecialCasesStubValues
=
new
Hashtable
();
p
rivate
static
final
Hashtable
kSpecialCasesStubValues
=
new
Hashtable
();
static
{
kSpecialCasesStubValues
.
put
(
java
.
lang
.
String
.
class
,
kWStringStubValue
);
...
...
@@ -221,7 +221,7 @@ public class RepositoryId {
}
p
ublic
static
final
Hashtable
kSpecialCasesVersions
=
new
Hashtable
();
p
rivate
static
final
Hashtable
kSpecialCasesVersions
=
new
Hashtable
();
static
{
kSpecialCasesVersions
.
put
(
java
.
lang
.
String
.
class
,
kWStringValueHash
);
...
...
@@ -232,7 +232,7 @@ public class RepositoryId {
kSpecialCasesVersions
.
put
(
java
.
rmi
.
Remote
.
class
,
kRemoteValueHash
);
}
p
ublic
static
final
Hashtable
kSpecialCasesClasses
=
new
Hashtable
();
p
rivate
static
final
Hashtable
kSpecialCasesClasses
=
new
Hashtable
();
static
{
kSpecialCasesClasses
.
put
(
kWStringTypeStr
,
java
.
lang
.
String
.
class
);
...
...
@@ -244,7 +244,7 @@ public class RepositoryId {
//kSpecialCasesClasses.put(kRemoteTypeStr, java.rmi.Remote.class);
}
p
ublic
static
final
Hashtable
kSpecialCasesArrayPrefix
=
new
Hashtable
();
p
rivate
static
final
Hashtable
kSpecialCasesArrayPrefix
=
new
Hashtable
();
static
{
kSpecialCasesArrayPrefix
.
put
(
java
.
lang
.
String
.
class
,
kValuePrefix
+
kSequencePrefix
+
kCORBAPrefix
);
...
...
@@ -255,7 +255,7 @@ public class RepositoryId {
kSpecialCasesArrayPrefix
.
put
(
java
.
rmi
.
Remote
.
class
,
kValuePrefix
+
kSequencePrefix
+
kCORBAPrefix
);
}
p
ublic
static
final
Hashtable
kSpecialPrimitives
=
new
Hashtable
();
p
rivate
static
final
Hashtable
kSpecialPrimitives
=
new
Hashtable
();
static
{
kSpecialPrimitives
.
put
(
"int"
,
"long"
);
...
...
src/share/classes/com/sun/corba/se/spi/logging/CORBALogDomains.java
浏览文件 @
ddd0e826
/*
* Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003,
2012,
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
...
...
@@ -58,7 +58,7 @@ public abstract class CORBALogDomains {
private
CORBALogDomains
()
{}
// Top level log domain for CORBA
public
static
String
TOP_LEVEL_DOMAIN
=
"javax.enterprise.resource.corba"
;
public
static
final
String
TOP_LEVEL_DOMAIN
=
"javax.enterprise.resource.corba"
;
public
static
final
String
RPC
=
"rpc"
;
...
...
src/share/classes/sun/rmi/rmic/iiop/IDLNames.java
浏览文件 @
ddd0e826
/*
* Copyright (c) 1998, 20
07
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 20
12
, 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
...
...
@@ -71,6 +71,34 @@ public class IDLNames implements sun.rmi.rmic.iiop.Constants {
(
byte
)
'F'
,
};
// Legal IDL Identifier characters (1 = legal). Note
// that '.' (2E) is marked as legal even though it is
// not legal in IDL. This allows us to treat a fully
// qualified Java name with '.' package separators
// uniformly, and is safe because that is the only
// legal use of '.' in a Java name.
private
static
final
byte
[]
IDL_IDENTIFIER_CHARS
=
{
// 0 1 2 3 4 5 6 7 8 9 a b c d e f
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
// 00-0f
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
// 10-1f
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
0
,
// 20-2f
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
// 30-3f
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
// 40-4f
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
1
,
// 50-5f
0
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
// 60-6f
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
// 70-7f
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
// 80-8f
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
// 90-9f
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
// a0-af
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
// b0-bf
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
// c0-cf
0
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
1
,
// d0-df
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
// e0-ef
0
,
1
,
1
,
1
,
1
,
1
,
1
,
0
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
1
,
// f0-ff
};
//_____________________________________________________________________
// Public Interfaces
//_____________________________________________________________________
...
...
@@ -139,7 +167,7 @@ public class IDLNames implements sun.rmi.rmic.iiop.Constants {
result
=
replace
(
result
,
"x\\U"
,
"U"
);
// Now see if we have any remaining illegal characters (see
//
RepositoryId.
IDL_IDENTIFIER_CHARS array)...
// IDL_IDENTIFIER_CHARS array)...
int
length
=
result
.
length
();
StringBuffer
buffer
=
null
;
...
...
@@ -148,7 +176,7 @@ public class IDLNames implements sun.rmi.rmic.iiop.Constants {
char
c
=
result
.
charAt
(
i
);
if
(
c
>
255
||
RepositoryId
.
IDL_IDENTIFIER_CHARS
[
c
]
==
0
)
{
if
(
c
>
255
||
IDL_IDENTIFIER_CHARS
[
c
]
==
0
)
{
// We gotta convert. Have we already started?
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录