Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
c67831ac
D
dragonwell8_jdk
项目概览
openanolis
/
dragonwell8_jdk
通知
4
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_jdk
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
c67831ac
编写于
10月 24, 2011
作者:
C
chegar
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
7104209: Cleanup and remove librmi (native library)
Reviewed-by: mduigou, alanb
上级
b5a25ea5
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
19 addition
and
124 deletion
+19
-124
make/java/java/mapfile-vers
make/java/java/mapfile-vers
+1
-1
make/sun/rmi/rmi/Makefile
make/sun/rmi/rmi/Makefile
+1
-30
make/sun/rmi/rmi/mapfile-vers
make/sun/rmi/rmi/mapfile-vers
+0
-33
src/share/classes/java/io/ObjectInputStream.java
src/share/classes/java/io/ObjectInputStream.java
+3
-2
src/share/classes/sun/misc/VM.java
src/share/classes/sun/misc/VM.java
+6
-0
src/share/classes/sun/rmi/server/MarshalInputStream.java
src/share/classes/sun/rmi/server/MarshalInputStream.java
+3
-1
src/share/native/java/io/ObjectInputStream.c
src/share/native/java/io/ObjectInputStream.c
+0
-13
src/share/native/sun/misc/VM.c
src/share/native/sun/misc/VM.c
+5
-0
src/share/native/sun/rmi/server/MarshalInputStream.c
src/share/native/sun/rmi/server/MarshalInputStream.c
+0
-44
未找到文件。
make/java/java/mapfile-vers
浏览文件 @
c67831ac
...
...
@@ -90,7 +90,6 @@ SUNWprivate_1.1 {
Java_java_io_FileSystem_getFileSystem;
Java_java_io_ObjectInputStream_bytesToDoubles;
Java_java_io_ObjectInputStream_bytesToFloats;
Java_java_io_ObjectInputStream_latestUserDefinedLoader;
Java_java_io_ObjectOutputStream_doublesToBytes;
Java_java_io_ObjectOutputStream_floatsToBytes;
Java_java_io_ObjectStreamClass_hasStaticInitializer;
...
...
@@ -275,6 +274,7 @@ SUNWprivate_1.1 {
Java_sun_misc_Version_getJvmVersionInfo;
Java_sun_misc_Version_getJvmSpecialVersion;
Java_sun_misc_VM_getThreadStateValues;
Java_sun_misc_VM_latestUserDefinedLoader;
Java_sun_misc_VM_initialize;
Java_sun_misc_VMSupport_initAgentProperties;
...
...
make/sun/rmi/rmi/Makefile
浏览文件 @
c67831ac
...
...
@@ -30,15 +30,8 @@
BUILDDIR
=
../../..
PACKAGE
=
sun.rmi
PRODUCT
=
sun
LIBRARY
=
rmi
include
$(BUILDDIR)/common/Defs.gmk
#
# Add use of a mapfile
#
FILES_m
=
mapfile-vers
include
$(BUILDDIR)/common/Mapfile-vers.gmk
#
# Java files to compile.
#
...
...
@@ -51,32 +44,10 @@ AUTO_FILES_JAVA_DIRS = \
sun/rmi/transport
\
com/sun/rmi
#
# Native files to compile.
#
FILES_c
=
\
sun/rmi/server/MarshalInputStream.c
#
# Add ambient vpath to pick up files not part of sun.rmi package
#
vpath
%.c
$(SHARE_SRC)/native/sun/rmi/server
#
# Exported files that require generated .h
#
FILES_export
=
\
sun/rmi/server/MarshalInputStream.java
#
# Link to JVM for JVM_LatestUserDefinedLoader
#
OTHER_LDLIBS
=
$(JVMLIB)
#
# Rules
#
include
$(BUILDDIR)/common/
Library
.gmk
include
$(BUILDDIR)/common/
Rules
.gmk
#
# Full package names of implementations requiring stubs
...
...
make/sun/rmi/rmi/mapfile-vers
已删除
100644 → 0
浏览文件 @
b5a25ea5
#
# Copyright (c) 2005, 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
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# Define library interface.
SUNWprivate_1.1 {
global:
Java_sun_rmi_server_MarshalInputStream_latestUserDefinedLoader;
local:
*;
};
src/share/classes/java/io/ObjectInputStream.java
浏览文件 @
c67831ac
...
...
@@ -2025,8 +2025,9 @@ public class ObjectInputStream
* This method should not be removed or its signature changed without
* corresponding modifications to the above class.
*/
// REMIND: change name to something more accurate?
private
static
native
ClassLoader
latestUserDefinedLoader
();
private
static
ClassLoader
latestUserDefinedLoader
()
{
return
sun
.
misc
.
VM
.
latestUserDefinedLoader
();
}
/**
* Default GetField implementation.
...
...
src/share/classes/sun/misc/VM.java
浏览文件 @
c67831ac
...
...
@@ -371,6 +371,12 @@ public class VM {
private
final
static
int
JVMTI_THREAD_STATE_WAITING_INDEFINITELY
=
0x0010
;
private
final
static
int
JVMTI_THREAD_STATE_WAITING_WITH_TIMEOUT
=
0x0020
;
/*
* Returns the first non-null class loader up the execution stack,
* or null if only code from the null class loader is on the stack.
*/
public
static
native
ClassLoader
latestUserDefinedLoader
();
static
{
initialize
();
}
...
...
src/share/classes/sun/rmi/server/MarshalInputStream.java
浏览文件 @
c67831ac
...
...
@@ -262,7 +262,9 @@ public class MarshalInputStream extends ObjectInputStream {
* Returns the first non-null class loader up the execution stack, or null
* if only code from the null class loader is on the stack.
*/
private
static
native
ClassLoader
latestUserDefinedLoader
();
private
static
ClassLoader
latestUserDefinedLoader
()
{
return
sun
.
misc
.
VM
.
latestUserDefinedLoader
();
}
/**
* Fix for 4179055: Need to assist resolving sun stubs; resolve
...
...
src/share/native/java/io/ObjectInputStream.c
浏览文件 @
c67831ac
...
...
@@ -173,16 +173,3 @@ Java_java_io_ObjectInputStream_bytesToDoubles(JNIEnv *env,
(
*
env
)
->
ReleasePrimitiveArrayCritical
(
env
,
dst
,
doubles
,
0
);
}
/*
* Class: java_io_ObjectInputStream
* Method: latestUserDefinedLoader
* Signature: ()Ljava/lang/ClassLoader;
*
* Returns the first non-null class loader up the execution stack, or null
* if only code from the null class loader is on the stack.
*/
JNIEXPORT
jobject
JNICALL
Java_java_io_ObjectInputStream_latestUserDefinedLoader
(
JNIEnv
*
env
,
jclass
cls
)
{
return
JVM_LatestUserDefinedLoader
(
env
);
}
src/share/native/sun/misc/VM.c
浏览文件 @
c67831ac
...
...
@@ -111,6 +111,11 @@ Java_sun_misc_VM_getThreadStateValues(JNIEnv *env, jclass cls,
get_thread_state_info
(
env
,
JAVA_THREAD_STATE_TERMINATED
,
values
,
names
);
}
JNIEXPORT
jobject
JNICALL
Java_sun_misc_VM_latestUserDefinedLoader
(
JNIEnv
*
env
,
jclass
cls
)
{
return
JVM_LatestUserDefinedLoader
(
env
);
}
typedef
void
(
JNICALL
*
GetJvmVersionInfo_fp
)(
JNIEnv
*
,
jvm_version_info
*
,
size_t
);
JNIEXPORT
void
JNICALL
...
...
src/share/native/sun/rmi/server/MarshalInputStream.c
已删除
100644 → 0
浏览文件 @
b5a25ea5
/*
* Copyright (c) 2000, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
#include "jni.h"
#include "jvm.h"
#include "jni_util.h"
#include "sun_rmi_server_MarshalInputStream.h"
/*
* Class: sun_rmi_server_MarshalInputStream
* Method: latestUserDefinedLoader
* Signature: ()Ljava/lang/ClassLoader;
*
* Returns the first non-null class loader up the execution stack, or null
* if only code from the null class loader is on the stack.
*/
JNIEXPORT
jobject
JNICALL
Java_sun_rmi_server_MarshalInputStream_latestUserDefinedLoader
(
JNIEnv
*
env
,
jclass
cls
)
{
return
JVM_LatestUserDefinedLoader
(
env
);
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录