Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
d9de6f90
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看板
提交
d9de6f90
编写于
3月 08, 2012
作者:
M
michaelm
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
7152186: java.awt.HeadlessException when running AWT apps [macosx]
Reviewed-by: anthony
上级
c64fdb17
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
8 addition
and
16 deletion
+8
-16
make/com/apple/osxui/Makefile
make/com/apple/osxui/Makefile
+1
-1
make/sun/headless/Makefile
make/sun/headless/Makefile
+0
-5
make/sun/jawt/Makefile
make/sun/jawt/Makefile
+1
-1
make/sun/lwawt/Makefile
make/sun/lwawt/Makefile
+2
-2
make/sun/xawt/Makefile
make/sun/xawt/Makefile
+0
-4
src/solaris/native/sun/awt/awt_LoadLibrary.c
src/solaris/native/sun/awt/awt_LoadLibrary.c
+4
-3
未找到文件。
make/com/apple/osxui/Makefile
浏览文件 @
d9de6f90
...
...
@@ -98,7 +98,7 @@ CPPFLAGS += \
OTHER_LDLIBS
=
\
-lawt
-losxapp
\
-l
lwawt
-L
$(LIBDIR)
/lwawt
-Xlinker
-rpath
-Xlinker
@loader_path/lwawt
\
-l
awt_lwawt
-L
$(LIBDIR)
-Xlinker
-rpath
-Xlinker
@loader_path
\
-framework
Cocoa
\
-framework
Carbon
\
-framework
ApplicationServices
\
...
...
make/sun/headless/Makefile
浏览文件 @
d9de6f90
...
...
@@ -29,11 +29,6 @@ NO_ROBOT = true
MOTIF_VERSION
=
none
MOTIF_VERSION_STRING
=
none
ifeq
($(PLATFORM), macosx)
LIB_LOCATION
=
$(LIBDIR)
/headless
else
endif
PACKAGE
=
sun.awt
LIBRARY
=
awt_headless
PRODUCT
=
sun
...
...
make/sun/jawt/Makefile
浏览文件 @
d9de6f90
...
...
@@ -133,7 +133,7 @@ endif # PLATFORM
ifeq
($(PLATFORM), macosx)
vpath
%.m
$(call
NativeSrcDirList,,native/sun/awt)
OTHER_LDLIBS
=
-l
lwawt
-L
$(LIBDIR)
/lwawt
-Xlinker
-rpath
-Xlinker
@loader_path/lwawt
\
OTHER_LDLIBS
=
-l
awt_lwawt
-L
$(LIBDIR)
-Xlinker
-rpath
-Xlinker
@loader_path
\
-framework
Cocoa
endif
# PLATFORM
...
...
make/sun/lwawt/Makefile
浏览文件 @
d9de6f90
...
...
@@ -26,10 +26,10 @@
BUILDDIR
=
../..
MODULE
=
awt
PACKAGE
=
sun.lwawt
LIBRARY
=
lwawt
LIBRARY
=
awt_
lwawt
PRODUCT
=
sun
LIB_LOCATION
=
$(LIBDIR)
/lwawt
LIB_LOCATION
=
$(LIBDIR)
include
$(BUILDDIR)/common/Defs.gmk
...
...
make/sun/xawt/Makefile
浏览文件 @
d9de6f90
...
...
@@ -28,10 +28,6 @@ PACKAGE = sun.awt.X11
LIBRARY
=
awt_xawt
PRODUCT
=
sun
ifeq
($(PLATFORM), macosx)
LIB_LOCATION
=
$(LIBDIR)
/xawt
endif
include
$(BUILDDIR)/common/Defs.gmk
GEN_DIR
=
$(GENSRCDIR)
/sun/awt/X11
...
...
src/solaris/native/sun/awt/awt_LoadLibrary.c
浏览文件 @
d9de6f90
...
...
@@ -77,11 +77,12 @@ JNIEXPORT jboolean JNICALL AWTIsHeadless() {
* Pathnames to the various awt toolkits
*/
#ifdef MACOSX
#define XAWT_PATH "/
xawt/
libawt_xawt.dylib"
#define LWAWT_PATH "/l
wawt/lib
lwawt.dylib"
#define XAWT_PATH "/libawt_xawt.dylib"
#define LWAWT_PATH "/l
ibawt_
lwawt.dylib"
#define DEFAULT_PATH LWAWT_PATH
#define HEADLESS_PATH "/
headless/
libawt_headless.dylib"
#define HEADLESS_PATH "/libawt_headless.dylib"
#else
#define XAWT_PATH "/libawt_xawt.so"
#define DEFAULT_PATH XAWT_PATH
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录