Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
1b6c5742
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看板
提交
1b6c5742
编写于
1月 27, 2012
作者:
C
chegar
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
7110002: Rename xawt/libmawt.so and headless/libmawt.so so they can be colocated with libawt
Reviewed-by: art, prr, dholmes, alanb
上级
5ef7f5c0
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
18 addition
and
22 deletion
+18
-22
make/common/Release-embedded.gmk
make/common/Release-embedded.gmk
+1
-1
make/sun/font/Makefile
make/sun/font/Makefile
+1
-1
make/sun/font/t2k/Makefile
make/sun/font/t2k/Makefile
+1
-1
make/sun/headless/Makefile
make/sun/headless/Makefile
+1
-3
make/sun/jawt/Makefile
make/sun/jawt/Makefile
+4
-4
make/sun/xawt/Makefile
make/sun/xawt/Makefile
+1
-3
src/solaris/native/java/lang/java_props_md.c
src/solaris/native/java/lang/java_props_md.c
+3
-3
src/solaris/native/sun/awt/awt_LoadLibrary.c
src/solaris/native/sun/awt/awt_LoadLibrary.c
+6
-6
未找到文件。
make/common/Release-embedded.gmk
浏览文件 @
1b6c5742
...
...
@@ -189,7 +189,7 @@ reduced-headless-image-jre:: $(RT_JAR) $(RESOURCES_JAR) $(BUILD_META_INDEX) $(HL
$(RM) -r $(JRE_REDUCED_HEADLESS_IMAGE_DIR)/lib/audio
$(RM) -fr $(JRE_REDUCED_HEADLESS_IMAGE_DIR)/lib/applet
$(RM) $(JRE_REDUCED_HEADLESS_IMAGE_DIR)/lib/$(LIBARCH)/awt_robot
$(RM)
-r $(JRE_REDUCED_HEADLESS_IMAGE_DIR)/lib/$(LIBARCH)/xawt
$(RM)
$(JRE_REDUCED_HEADLESS_IMAGE_DIR)/lib/$(LIBARCH)/libawt_xawt.so
$(RM) -r $(JRE_REDUCED_HEADLESS_IMAGE_DIR)/lib/$(LIBARCH)/libsplashscreen.so
@# Remove oblique fonts and reduce font support to LucidaSansRegular only
$(RM) -fr $(JRE_REDUCED_HEADLESS_IMAGE_DIR)/lib/oblique-fonts
...
...
make/sun/font/Makefile
浏览文件 @
1b6c5742
...
...
@@ -175,7 +175,7 @@ else # PLATFORM
ifeq
($(PLATFORM), solaris)
# Note that on Solaris, fontmanager is built against the headless library.
LDFLAGS
+=
-L
$(LIBDIR)
/
$(LIBARCH)
/headless
OTHER_LDLIBS
+=
-lawt
-
L
$(LIBDIR)
/
$(LIBARCH)
/xawt
-lm
awt
-lc
$(LIBM)
$(LIBCXX)
OTHER_LDLIBS
+=
-lawt
-
lawt_x
awt
-lc
$(LIBM)
$(LIBCXX)
else
# PLATFORM is linux
OTHER_LDLIBS
+=
-lawt
$(LIBM)
$(LIBCXX)
ifeq
("$(CC_VER_MAJOR)", "3")
...
...
make/sun/font/t2k/Makefile
浏览文件 @
1b6c5742
...
...
@@ -99,7 +99,7 @@ ifneq ($(PLATFORM), windows)
endif
else
ifeq
($(PLATFORM), solaris)
OTHER_LDLIBS
+=
-lawt
-
L
$(LIBDIR)
/
$(LIBARCH)
/xawt
-lm
awt
OTHER_LDLIBS
+=
-lawt
-
lawt_x
awt
endif
endif
endif
...
...
make/sun/headless/Makefile
浏览文件 @
1b6c5742
...
...
@@ -28,11 +28,9 @@ HEADLESS = true
NO_ROBOT
=
true
MOTIF_VERSION
=
none
MOTIF_VERSION_STRING
=
none
LIB_LOCATION
=
$(LIBDIR)
/
$(LIBARCH)
/headless
PACKAGE
=
sun.awt
LIBRARY
=
mawt
LIBRARY_OUTPUT
=
headless
LIBRARY
=
awt_headless
PRODUCT
=
sun
include
$(BUILDDIR)/common/Defs.gmk
...
...
make/sun/jawt/Makefile
浏览文件 @
1b6c5742
...
...
@@ -113,17 +113,17 @@ CPPFLAGS += -I$(OPENWIN_HOME)/include \
#
ifeq
($(PLATFORM), solaris)
ifndef
BUILD_HEADLESS_ONLY
OTHER_LDLIBS
=
-L
$(LIBDIR)
/
$(LIBARCH)
-L
$(OPENWIN_LIB)
-
L
$(LIBDIR)
/
$(LIBARCH)
/xawt
-lm
awt
-L
/usr/openwin/sfw/lib
$(ISA_DIR)
-lXrender
OTHER_LDLIBS
=
-L
$(LIBDIR)
/
$(LIBARCH)
-L
$(OPENWIN_LIB)
-
lawt_x
awt
-L
/usr/openwin/sfw/lib
$(ISA_DIR)
-lXrender
else
OTHER_LDLIBS
=
-L
$(LIBDIR)
/
$(LIBARCH)
-L
$(OPENWIN_LIB)
-
L
$(LIBDIR)
/
$(LIBARCH)
/headless
-lmawt
-L
/usr/openwin/sfw/lib
$(ISA_DIR)
-lXrender
OTHER_LDLIBS
=
-L
$(LIBDIR)
/
$(LIBARCH)
-L
$(OPENWIN_LIB)
-
lawt_headless
-L
/usr/openwin/sfw/lib
$(ISA_DIR)
-lXrender
endif
endif
# PLATFORM
ifeq
($(PLATFORM), linux)
ifndef
BUILD_HEADLESS_ONLY
OTHER_LDLIBS
=
-L
$(LIBDIR)
/
$(LIBARCH)
-lawt
-
L
$(LIBDIR)
/
$(LIBARCH)
/xawt
-lm
awt
OTHER_LDLIBS
=
-L
$(LIBDIR)
/
$(LIBARCH)
-lawt
-
lawt_x
awt
else
OTHER_LDLIBS
=
-L
$(LIBDIR)
/
$(LIBARCH)
-lawt
-
L
$(LIBDIR)
/
$(LIBARCH)
/headless
-lmawt
OTHER_LDLIBS
=
-L
$(LIBDIR)
/
$(LIBARCH)
-lawt
-
lawt_headless
CFLAGS
+=
-DHEADLESS
endif
endif
# PLATFORM
...
...
make/sun/xawt/Makefile
浏览文件 @
1b6c5742
...
...
@@ -25,9 +25,7 @@
BUILDDIR
=
../..
PACKAGE
=
sun.awt.X11
LIBRARY
=
mawt
LIBRARY_OUTPUT
=
xawt
LIB_LOCATION
=
$(LIBDIR)
/
$(LIBARCH)
/xawt
LIBRARY
=
awt_xawt
PRODUCT
=
sun
include
$(BUILDDIR)/common/Defs.gmk
...
...
src/solaris/native/java/lang/java_props_md.c
浏览文件 @
1b6c5742
...
...
@@ -310,7 +310,7 @@ static int ParseLocale(int cat, char ** std_language, char ** std_script,
}
#ifdef JAVASE_EMBEDDED
/* Determine the default embedded toolkit based on whether lib
/xawt/
/* Determine the default embedded toolkit based on whether lib
awt_xawt
* exists in the JRE. This can still be overridden by -Dawt.toolkit=XXX
*/
static
char
*
getEmbeddedToolkit
()
{
...
...
@@ -325,8 +325,8 @@ static char* getEmbeddedToolkit() {
realpath
((
char
*
)
dlinfo
.
dli_fname
,
buf
);
len
=
strlen
(
buf
);
p
=
strrchr
(
buf
,
'/'
);
/* Default AWT Toolkit on Linux and Solaris is XAWT. */
strncpy
(
p
,
"/
xawt/
"
,
MAXPATHLEN
-
len
-
1
);
/* Default AWT Toolkit on Linux and Solaris is XAWT
(libawt_xawt.so)
. */
strncpy
(
p
,
"/
libawt_xawt.so
"
,
MAXPATHLEN
-
len
-
1
);
/* Check if it exists */
if
(
stat
(
buf
,
&
statbuf
)
==
-
1
&&
errno
==
ENOENT
)
{
/* No - this is a reduced-headless-jre so use special HToolkit */
...
...
src/solaris/native/sun/awt/awt_LoadLibrary.c
浏览文件 @
1b6c5742
...
...
@@ -105,7 +105,7 @@ AWT_OnLoad(JavaVM *vm, void *reserved)
/*
* The code below is responsible for:
* 1. Loading appropriate awt library, i.e.
xawt/libmawt or headless/libwawt
* 1. Loading appropriate awt library, i.e.
libawt_xawt or libawt_headless
* 2. Setting "awt.toolkit" system property to use the appropriate Java toolkit class,
* (if user has specified the toolkit in env varialble)
*/
...
...
@@ -130,10 +130,10 @@ AWT_OnLoad(JavaVM *vm, void *reserved)
/* Calculate library name to load */
if
(
AWTIsHeadless
())
{
strncpy
(
p
,
"/
headless/libmawt
.so"
,
MAXPATHLEN
-
len
-
1
);
strncpy
(
p
,
"/
libawt_headless
.so"
,
MAXPATHLEN
-
len
-
1
);
}
else
{
/* Default AWT Toolkit on Linux and Solaris is XAWT. */
strncpy
(
p
,
"/
xawt/libm
awt.so"
,
MAXPATHLEN
-
len
-
1
);
strncpy
(
p
,
"/
libawt_x
awt.so"
,
MAXPATHLEN
-
len
-
1
);
}
if
(
toolkit
)
{
...
...
@@ -161,7 +161,7 @@ JNI_OnLoad(JavaVM *vm, void *reserved)
/*
* This entry point must remain in libawt.so as part of a contract
* with the CDE variant of Java Media Framework. (sdtjmplay)
* Reflect this call over to the correct lib
mawt
.so.
* Reflect this call over to the correct lib
awt_<toolkit>
.so.
*/
JNIEXPORT
void
JNICALL
Java_sun_awt_motif_XsessionWMcommand
(
JNIEnv
*
env
,
jobject
this
,
...
...
@@ -191,7 +191,7 @@ Java_sun_awt_motif_XsessionWMcommand(JNIEnv *env, jobject this,
/*
* This entry point must remain in libawt.so as part of a contract
* with the CDE variant of Java Media Framework. (sdtjmplay)
* Reflect this call over to the correct lib
mawt
.so.
* Reflect this call over to the correct lib
awt_<toolkit>
.so.
*/
JNIEXPORT
void
JNICALL
Java_sun_awt_motif_XsessionWMcommand_New
(
JNIEnv
*
env
,
jobjectArray
jargv
)
...
...
@@ -250,7 +250,7 @@ return_type name arglist \
/*
* These entry point must remain in libawt.so ***for Java Plugin ONLY***
* Reflect this call over to the correct lib
mawt
.so.
* Reflect this call over to the correct lib
awt_<toolkit>
.so.
*/
REFLECT_VOID_FUNCTION
(
getAwtLockFunctions
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录