Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
1039ad1b
D
dragonwell8_hotspot
项目概览
openanolis
/
dragonwell8_hotspot
通知
2
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_hotspot
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
1039ad1b
编写于
7月 08, 2013
作者:
H
hseigel
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
ac2272f9
68a597dd
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
1 addition
and
29 deletion
+1
-29
make/bsd/makefiles/mapfile-vers-debug
make/bsd/makefiles/mapfile-vers-debug
+0
-1
make/bsd/makefiles/mapfile-vers-product
make/bsd/makefiles/mapfile-vers-product
+0
-1
make/linux/makefiles/mapfile-vers-debug
make/linux/makefiles/mapfile-vers-debug
+0
-1
make/linux/makefiles/mapfile-vers-product
make/linux/makefiles/mapfile-vers-product
+0
-1
make/solaris/makefiles/mapfile-vers
make/solaris/makefiles/mapfile-vers
+0
-1
src/share/vm/classfile/javaClasses.hpp
src/share/vm/classfile/javaClasses.hpp
+1
-1
src/share/vm/prims/jvm.cpp
src/share/vm/prims/jvm.cpp
+0
-20
src/share/vm/prims/jvm.h
src/share/vm/prims/jvm.h
+0
-3
未找到文件。
make/bsd/makefiles/mapfile-vers-debug
浏览文件 @
1039ad1b
...
...
@@ -221,7 +221,6 @@
_JVM_SetLength
_JVM_SetNativeThreadName
_JVM_SetPrimitiveArrayElement
_JVM_SetProtectionDomain
_JVM_SetSockOpt
_JVM_SetThreadPriority
_JVM_Sleep
...
...
make/bsd/makefiles/mapfile-vers-product
浏览文件 @
1039ad1b
...
...
@@ -221,7 +221,6 @@
_JVM_SetLength
_JVM_SetNativeThreadName
_JVM_SetPrimitiveArrayElement
_JVM_SetProtectionDomain
_JVM_SetSockOpt
_JVM_SetThreadPriority
_JVM_Sleep
...
...
make/linux/makefiles/mapfile-vers-debug
浏览文件 @
1039ad1b
...
...
@@ -223,7 +223,6 @@ SUNWprivate_1.1 {
JVM_SetLength;
JVM_SetNativeThreadName;
JVM_SetPrimitiveArrayElement;
JVM_SetProtectionDomain;
JVM_SetSockOpt;
JVM_SetThreadPriority;
JVM_Sleep;
...
...
make/linux/makefiles/mapfile-vers-product
浏览文件 @
1039ad1b
...
...
@@ -223,7 +223,6 @@ SUNWprivate_1.1 {
JVM_SetLength;
JVM_SetNativeThreadName;
JVM_SetPrimitiveArrayElement;
JVM_SetProtectionDomain;
JVM_SetSockOpt;
JVM_SetThreadPriority;
JVM_Sleep;
...
...
make/solaris/makefiles/mapfile-vers
浏览文件 @
1039ad1b
...
...
@@ -223,7 +223,6 @@ SUNWprivate_1.1 {
JVM_SetLength;
JVM_SetNativeThreadName;
JVM_SetPrimitiveArrayElement;
JVM_SetProtectionDomain;
JVM_SetSockOpt;
JVM_SetThreadPriority;
JVM_Sleep;
...
...
src/share/vm/classfile/javaClasses.hpp
浏览文件 @
1039ad1b
...
...
@@ -234,6 +234,7 @@ class java_lang_Class : AllStatic {
static
GrowableArray
<
Klass
*>*
_fixup_mirror_list
;
static
void
set_init_lock
(
oop
java_class
,
oop
init_lock
);
static
void
set_protection_domain
(
oop
java_class
,
oop
protection_domain
);
public:
static
void
compute_offsets
();
...
...
@@ -272,7 +273,6 @@ class java_lang_Class : AllStatic {
// Support for embedded per-class oops
static
oop
protection_domain
(
oop
java_class
);
static
void
set_protection_domain
(
oop
java_class
,
oop
protection_domain
);
static
oop
init_lock
(
oop
java_class
);
static
objArrayOop
signers
(
oop
java_class
);
static
void
set_signers
(
oop
java_class
,
objArrayOop
signers
);
...
...
src/share/vm/prims/jvm.cpp
浏览文件 @
1039ad1b
...
...
@@ -1121,26 +1121,6 @@ JVM_ENTRY(jobject, JVM_GetProtectionDomain(JNIEnv *env, jclass cls))
JVM_END
// Obsolete since 1.2 (Class.setProtectionDomain removed), although
// still defined in core libraries as of 1.5.
JVM_ENTRY
(
void
,
JVM_SetProtectionDomain
(
JNIEnv
*
env
,
jclass
cls
,
jobject
protection_domain
))
JVMWrapper
(
"JVM_SetProtectionDomain"
);
if
(
JNIHandles
::
resolve
(
cls
)
==
NULL
)
{
THROW
(
vmSymbols
::
java_lang_NullPointerException
());
}
if
(
!
java_lang_Class
::
is_primitive
(
JNIHandles
::
resolve
(
cls
)))
{
// Call is ignored for primitive types
Klass
*
k
=
java_lang_Class
::
as_Klass
(
JNIHandles
::
resolve
(
cls
));
// cls won't be an array, as this called only from ClassLoader.defineClass
if
(
k
->
oop_is_instance
())
{
oop
pd
=
JNIHandles
::
resolve
(
protection_domain
);
assert
(
pd
==
NULL
||
pd
->
is_oop
(),
"just checking"
);
java_lang_Class
::
set_protection_domain
(
k
->
java_mirror
(),
pd
);
}
}
JVM_END
static
bool
is_authorized
(
Handle
context
,
instanceKlassHandle
klass
,
TRAPS
)
{
// If there is a security manager and protection domain, check the access
// in the protection domain, otherwise it is authorized.
...
...
src/share/vm/prims/jvm.h
浏览文件 @
1039ad1b
...
...
@@ -471,9 +471,6 @@ JVM_SetClassSigners(JNIEnv *env, jclass cls, jobjectArray signers);
JNIEXPORT
jobject
JNICALL
JVM_GetProtectionDomain
(
JNIEnv
*
env
,
jclass
cls
);
JNIEXPORT
void
JNICALL
JVM_SetProtectionDomain
(
JNIEnv
*
env
,
jclass
cls
,
jobject
protection_domain
);
JNIEXPORT
jboolean
JNICALL
JVM_IsArrayClass
(
JNIEnv
*
env
,
jclass
cls
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录