Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
6df459bc
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看板
提交
6df459bc
编写于
6月 28, 2012
作者:
B
bdelsart
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
2ae82715
eb2dddf5
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
20 addition
and
3 deletion
+20
-3
make/jprt.properties
make/jprt.properties
+6
-1
make/pic.make
make/pic.make
+8
-1
src/share/vm/runtime/fieldDescriptor.cpp
src/share/vm/runtime/fieldDescriptor.cpp
+4
-0
src/share/vm/runtime/fieldDescriptor.hpp
src/share/vm/runtime/fieldDescriptor.hpp
+1
-0
src/share/vm/runtime/reflection.cpp
src/share/vm/runtime/reflection.cpp
+1
-1
未找到文件。
make/jprt.properties
浏览文件 @
6df459bc
...
...
@@ -102,6 +102,11 @@ jprt.my.linux.armvfp.jdk7=linux_armvfp_2.6
jprt.my.linux.armvfp.jdk7u6
=
${jprt.my.linux.armvfp.jdk7}
jprt.my.linux.armvfp
=
${jprt.my.linux.armvfp.${jprt.tools.default.release}}
jprt.my.linux.armv6.jdk8
=
linux_armv6_2.6
jprt.my.linux.armv6.jdk7
=
linux_armv6_2.6
jprt.my.linux.armv6.jdk7u6
=
${jprt.my.linux.armv6.jdk7}
jprt.my.linux.armv6
=
${jprt.my.linux.armv6.${jprt.tools.default.release}}
jprt.my.linux.armsflt.jdk8
=
linux_armsflt_2.6
jprt.my.linux.armsflt.jdk7
=
linux_armsflt_2.6
jprt.my.linux.armsflt.jdk7u6
=
${jprt.my.linux.armsflt.jdk7}
...
...
@@ -134,7 +139,7 @@ jprt.build.targets.standard= \
${jprt.my.macosx.x64}-{product|fastdebug|debug},
\
${jprt.my.windows.i586}-{product|fastdebug|debug},
\
${jprt.my.windows.x64}-{product|fastdebug|debug},
\
${jprt.my.linux.armv
fp
}-{product|fastdebug}
${jprt.my.linux.armv
6
}-{product|fastdebug}
jprt.build.targets.open
=
\
${jprt.my.solaris.i586}-{productOpen},
\
...
...
make/pic.make
浏览文件 @
6df459bc
#
# Copyright (c) 2006, 20
07
, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2006, 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
...
...
@@ -30,6 +30,13 @@ include $(GAMMADIR)/make/scm.make
ifneq
($(OSNAME), windows)
ifndef
LP64
PARTIAL_NONPIC
=
1
endif
PIC_ARCH
=
ppc
ifneq
("$(filter $(PIC_ARCH),$(BUILDARCH))","")
PARTIAL_NONPIC
=
0
endif
ifeq
($(PARTIAL_NONPIC),1)
NONPIC_DIRS
=
memory oops gc_implementation gc_interface
NONPIC_DIRS
:=
$(
foreach
dir
,
$(NONPIC_DIRS)
,
$(GAMMADIR)
/src/share/vm/
$(dir)
)
# Look for source files under NONPIC_DIRS
...
...
src/share/vm/runtime/fieldDescriptor.cpp
浏览文件 @
6df459bc
...
...
@@ -39,6 +39,10 @@ oop fieldDescriptor::loader() const {
}
Symbol
*
fieldDescriptor
::
generic_signature
()
const
{
if
(
!
has_generic_signature
())
{
return
NULL
;
}
int
idx
=
0
;
instanceKlass
*
ik
=
instanceKlass
::
cast
(
field_holder
());
for
(
AllFieldStream
fs
(
ik
);
!
fs
.
done
();
fs
.
next
())
{
...
...
src/share/vm/runtime/fieldDescriptor.hpp
浏览文件 @
6df459bc
...
...
@@ -100,6 +100,7 @@ class fieldDescriptor VALUE_OBJ_CLASS_SPEC {
bool
is_field_access_watched
()
const
{
return
access_flags
().
is_field_access_watched
();
}
bool
is_field_modification_watched
()
const
{
return
access_flags
().
is_field_modification_watched
();
}
bool
has_generic_signature
()
const
{
return
access_flags
().
field_has_generic_signature
();
}
void
set_is_field_access_watched
(
const
bool
value
)
{
_access_flags
.
set_is_field_access_watched
(
value
);
...
...
src/share/vm/runtime/reflection.cpp
浏览文件 @
6df459bc
...
...
@@ -829,7 +829,7 @@ oop Reflection::new_field(fieldDescriptor* fd, bool intern_name, TRAPS) {
java_lang_reflect_Field
::
set_modifiers
(
rh
(),
fd
->
access_flags
().
as_int
()
&
JVM_RECOGNIZED_FIELD_MODIFIERS
);
java_lang_reflect_Field
::
set_override
(
rh
(),
false
);
if
(
java_lang_reflect_Field
::
has_signature_field
()
&&
fd
->
generic_signature
()
!=
NULL
)
{
fd
->
has_generic_signature
()
)
{
Symbol
*
gs
=
fd
->
generic_signature
();
Handle
sig
=
java_lang_String
::
create_from_symbol
(
gs
,
CHECK_NULL
);
java_lang_reflect_Field
::
set_signature
(
rh
(),
sig
());
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录