Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8
提交
1d43dc73
D
dragonwell8
项目概览
openanolis
/
dragonwell8
通知
5
Star
3
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
1d43dc73
编写于
2月 04, 2013
作者:
D
dholmes
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
5b420797
3a59e459
变更
15
隐藏空白更改
内联
并排
Showing
15 changed file
with
93 addition
and
19 deletion
+93
-19
.hgtags
.hgtags
+1
-0
common/autoconf/generated-configure.sh
common/autoconf/generated-configure.sh
+9
-2
common/autoconf/jdk-options.m4
common/autoconf/jdk-options.m4
+2
-1
common/autoconf/libraries.m4
common/autoconf/libraries.m4
+6
-0
common/autoconf/spec.gmk.in
common/autoconf/spec.gmk.in
+6
-0
common/bin/compare.sh
common/bin/compare.sh
+29
-1
common/bin/compare_exceptions.sh.incl
common/bin/compare_exceptions.sh.incl
+11
-0
common/makefiles/IdlCompilation.gmk
common/makefiles/IdlCompilation.gmk
+1
-1
common/makefiles/JavaCompilation.gmk
common/makefiles/JavaCompilation.gmk
+6
-6
common/makefiles/Jprt.gmk
common/makefiles/Jprt.gmk
+6
-0
common/makefiles/javadoc/CORE_PKGS.gmk
common/makefiles/javadoc/CORE_PKGS.gmk
+5
-0
common/makefiles/javadoc/Javadoc.gmk
common/makefiles/javadoc/Javadoc.gmk
+5
-7
make/install-rules.gmk
make/install-rules.gmk
+3
-0
make/jprt.properties
make/jprt.properties
+1
-0
test/Makefile
test/Makefile
+2
-1
未找到文件。
.hgtags
浏览文件 @
1d43dc73
...
...
@@ -195,3 +195,4 @@ cdb401a60cea6ad5ef3f498725ed1decf8dda1ea jdk8-b68
51ad2a34342055333eb5f36e2fb514b027895708 jdk8-b71
c1be681d80a1f1c848dc671d664fccb19e046a12 jdk8-b72
93b9664f97eeb6f89397a8842318ebacaac9feb9 jdk8-b73
b43aa5bd8ca5c8121336495382d35ecfa7a71536 jdk8-b74
common/autoconf/generated-configure.sh
浏览文件 @
1d43dc73
...
...
@@ -3731,7 +3731,7 @@ fi
#CUSTOM_AUTOCONF_INCLUDE
# Do not change or remove the following line, it is needed for consistency checks:
DATE_WHEN_GENERATED=135
8901036
DATE_WHEN_GENERATED=135
9938124
###############################################################################
#
...
...
@@ -10786,7 +10786,8 @@ if test "x$with_milestone" = xyes; then
as_fn_error $? "Milestone must have a value" "$LINENO" 5
elif test "x$with_milestone" != x; then
MILESTONE="$with_milestone"
else
fi
if test "x$MILESTONE" = x; then
MILESTONE=internal
fi
...
...
@@ -29255,6 +29256,12 @@ fi
fi
# AC_PATH_XTRA creates X_LIBS and sometimes adds -R flags. When cross compiling
# this doesn't make sense so we remove it.
if test "x$COMPILE_TYPE" = xcross; then
X_LIBS=`$ECHO $X_LIBS | $SED 's/-R \{0,1\}[^ ]*//g'`
fi
if test "x$no_x" = xyes && test "x$X11_NOT_NEEDED" != xyes; then
# Print a helpful message on how to acquire the necessary build dependency.
common/autoconf/jdk-options.m4
浏览文件 @
1d43dc73
...
...
@@ -389,7 +389,8 @@ if test "x$with_milestone" = xyes; then
AC_MSG_ERROR([Milestone must have a value])
elif test "x$with_milestone" != x; then
MILESTONE="$with_milestone"
else
fi
if test "x$MILESTONE" = x; then
MILESTONE=internal
fi
...
...
common/autoconf/libraries.m4
浏览文件 @
1d43dc73
...
...
@@ -136,6 +136,12 @@ fi
AC_PATH_X
AC_PATH_XTRA
# AC_PATH_XTRA creates X_LIBS and sometimes adds -R flags. When cross compiling
# this doesn't make sense so we remove it.
if test "x$COMPILE_TYPE" = xcross; then
X_LIBS=`$ECHO $X_LIBS | $SED 's/-R \{0,1\}[[^ ]]*//g'`
fi
if test "x$no_x" = xyes && test "x$X11_NOT_NEEDED" != xyes; then
HELP_MSG_MISSING_DEPENDENCY([x11])
AC_MSG_ERROR([Could not find X11 libraries. $HELP_MSG])
...
...
common/autoconf/spec.gmk.in
浏览文件 @
1d43dc73
...
...
@@ -434,6 +434,12 @@ NATIVE2ASCII=@FIXPATH@ $(BOOT_JDK)/bin/native2ascii
JARSIGNER=@FIXPATH@ $(BOOT_JDK)/bin/jarsigner
# You run the new javac using the boot jdk with $(BOOT_JDK)/bin/java $(NEW_JAVAC) ...
BOOTSTRAP_JAVAC_JAR:=$(LANGTOOLS_OUTPUTDIR)/dist/bootstrap/lib/javac.jar
BOOTSTRAP_JAVAC_ARGS:="-Xbootclasspath/p:$(BOOTSTRAP_JAVAC_JAR)" -cp $(BOOTSTRAP_JAVAC_JAR)
NEW_JAVAC = $(BOOTSTRAP_JAVAC_ARGS) com.sun.tools.javac.Main
NEW_JAVADOC = $(BOOTSTRAP_JAVAC_ARGS) com.sun.tools.javadoc.Main
# Base flags for RC
# Guarding this against resetting value. Legacy make files include spec multiple
# times.
...
...
common/bin/compare.sh
浏览文件 @
1d43dc73
...
...
@@ -350,9 +350,15 @@ compare_zip_file() {
OTHER_DIR
=
$2
WORK_DIR
=
$3
ZIP_FILE
=
$4
# Optionally provide different name for other zipfile
OTHER_ZIP_FILE
=
$5
THIS_ZIP
=
$THIS_DIR
/
$ZIP_FILE
OTHER_ZIP
=
$OTHER_DIR
/
$ZIP_FILE
if
[
-n
"
$OTHER_ZIP_FILE
"
]
;
then
OTHER_ZIP
=
$OTHER_DIR
/
$OTHER_ZIP_FILE
else
OTHER_ZIP
=
$OTHER_DIR
/
$ZIP_FILE
fi
THIS_SUFFIX
=
"
${
THIS_ZIP
##*.
}
"
OTHER_SUFFIX
=
"
${
OTHER_ZIP
##*.
}
"
...
...
@@ -962,6 +968,9 @@ if [ -z "$1" ] || [ "$1" = "-h" ] || [ "$1" = "-?" ] || [ "$1" = "/h" ] || [ "$1
echo
"[FILTER] List filenames in the image to compare, works for jars, zips, libs and execs"
echo
"Example:"
echo
"bash ./common/bin/compareimages.sh CodePointIM.jar"
echo
""
echo
"-2zips <file1> <file2> Compare two zip files only"
echo
""
exit
10
fi
...
...
@@ -1023,6 +1032,13 @@ while [ -n "$1" ]; do
-execs
)
CMP_EXECS
=
true
;;
-2zips
)
CMP_2_ZIPS
=
true
THIS_FILE
=
$2
OTHER_FILE
=
$3
shift
shift
;;
*
)
CMP_NAMES
=
false
CMP_PERMS
=
false
...
...
@@ -1041,6 +1057,18 @@ while [ -n "$1" ]; do
shift
done
if
[
"
$CMP_2_ZIPS
"
=
"true"
]
;
then
THIS_DIR
=
"
$(
dirname
$THIS_FILE
)
"
THIS_DIR
=
"
$(
cd
"
$THIS_DIR
"
&&
pwd
)
"
OTHER_DIR
=
"
$(
dirname
$OTHER_FILE
)
"
OTHER_DIR
=
"
$(
cd
"
$OTHER_DIR
"
&&
pwd
)
"
THIS_FILE_NAME
=
"
$(
basename
$THIS_FILE
)
"
OTHER_FILE_NAME
=
"
$(
basename
$OTHER_FILE
)
"
echo
Comparing
$THIS_DIR
/
$THIS_FILE_NAME
and
$OTHER_DIR
/
$OTHER_FILE_NAME
compare_zip_file
$THIS_DIR
$OTHER_DIR
$COMPARE_ROOT
/2zips
$THIS_FILE_NAME
$OTHER_FILE_NAME
exit
fi
if
[
"
$CMP_NAMES
"
=
"false"
]
&&
[
"
$CMP_TYPES
"
=
"false"
]
&&
[
"
$CMP_PERMS
"
=
"false"
]
&&
[
"
$CMP_GENERAL
"
=
"false"
]
&&
[
"
$CMP_ZIPS
"
=
"false"
]
&&
[
"
$CMP_JARS
"
=
"false"
]
&&
[
"
$CMP_LIBS
"
=
"false"
]
&&
[
"
$CMP_EXECS
"
=
"false"
]
;
then
CMP_NAMES
=
true
CMP_PERMS
=
true
...
...
common/bin/compare_exceptions.sh.incl
浏览文件 @
1d43dc73
...
...
@@ -887,6 +887,17 @@ ACCEPTED_SMALL_SIZE_DIFF="
./jre/bin/unpack200.exe
"
# jabswitch.exe is compiled and linked with incremental turned on in the old
# build. This makes no sense, so it's turned off in the new build.
ACCEPTED_SIZE_DIFF
=
"
./bin/jabswitch.exe
./jre/bin/jabswitch.exe
"
ACCEPTED_DIS_DIFF
=
"
./bin/jabswitch.exe
./jre/bin/jabswitch.exe
"
# On windows, there are unavoidable allignment issues making
# a perfect disasm diff impossible. Filter out the following:
# * Random parts of C++ symbols (this is a bit greedy, but does the trick)
...
...
common/makefiles/IdlCompilation.gmk
浏览文件 @
1d43dc73
...
...
@@ -71,7 +71,7 @@ define add_idl_package
$4
$(RM) -f $$(addprefix $3/$$($4_TMPDIR)/,$6)
$(CP) -rp $3/$$($4_TMPDIR)/* $3
($(CD) $3/$$($4_TMPDIR)
; find . -type f | sed 's!\./!$3/!g' | awk
'{ print $$$$1 ": $4" }' > $5)
($(CD) $3/$$($4_TMPDIR)
&& $(FIND) . -type f | $(SED) 's!\./!$3/!g' | $(NAWK)
'{ print $$$$1 ": $4" }' > $5)
$(RM) -rf $3/$$($4_TMPDIR)
endef
...
...
common/makefiles/JavaCompilation.gmk
浏览文件 @
1d43dc73
...
...
@@ -42,8 +42,8 @@ endif
FALSE_FIND_PATTERN:=-name FILE_NAME_THAT_DOESNT_EXIST
define SetupJavaCompiler
# param 1 is for example
BOOT_JAVAC or NEW_JAVAC
# This is the name
later used to decide which java compiler to use
.
# param 1 is for example
GENERATE_OLD_BYTECODE or GENERATE_NEW_JDKBYTECODE
# This is the name
of the compiler setup
.
# param 2-9 are named args.
# JVM:=The jvm used to run the javac/javah command
# JAVAC:=The javac jar and bootstrap classpath changes, or just bin/javac if JVM is left out
...
...
@@ -487,10 +487,10 @@ define SetupJavaCompilation
# Using sjavac to compile.
$1 := $$($1_ALL_COPY_TARGETS) $$($1_ALL_COPY_CLEAN_TARGETS) $$($1_BIN)/javac_state
# Create SJAVAC variable
,
#
expects $1_JAVAC to be "bootclasspathprepend -jar ...javac.jar
"
# and
it is rewritten into "bootclasspathprepend com.sun.tools.sjavac.Main"
$1_SJAVAC:=$$(
word 1,$$($1_JAVAC)) -cp $$(word 3,$$($1_JAVAC)) com.sun.tools.sjavac.Main
# Create SJAVAC variable
form JAVAC variable. Expects $1_JAVAC to be
#
"bootclasspathprepend -cp .../javac.jar com.sun.tools.javac.Main
"
# and
javac is simply replaced with sjavac.
$1_SJAVAC:=$$(
subst com.sun.tools.javac.Main,com.sun.tools.sjavac.Main,$$($1_JAVAC))
# Set the $1_REMOTE to spawn a background javac server.
$1_REMOTE:=--server:portfile=$$($1_SJAVAC_PORTFILE),id=$1,sjavac=$$(subst $$(SPACE),%20,$$(subst $$(COMMA),%2C,$$(strip $$($1_SERVER_JVM) $$($1_SJAVAC))))
...
...
common/makefiles/Jprt.gmk
浏览文件 @
1d43dc73
...
...
@@ -150,6 +150,9 @@ PHONY_LIST += bridge2configure bridgeBuild
ifndef JPRT_ARCHIVE_BUNDLE
JPRT_ARCHIVE_BUNDLE=/tmp/jprt_bundles/j2sdk-image.zip
endif
ifndef JPRT_ARCHIVE_INSTALL_BUNDLE
JPRT_ARCHIVE_INSTALL_BUNDLE=/tmp/jprt_bundles/product-install.zip
endif
# These targets execute in a SPEC free context, before calling bridgeBuild
# to generate the SPEC.
...
...
@@ -188,6 +191,9 @@ ifeq ($(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU_BITS),solaris-64)
else
$(CD) $(JDK_IMAGE_DIR) && $(ZIP) -q -r $(BUILD_OUTPUT)/bundles/j2sdk-image.zip .
$(CD) $(JRE_IMAGE_DIR) && $(ZIP) -q -r $(BUILD_OUTPUT)/bundles/j2re-image.zip .
if [ -d $(BUILD_OUTPUT)/install/bundles ] ; then \
$(CD) $(BUILD_OUTPUT)/install/bundles && $(ZIP) -q -r $(JPRT_ARCHIVE_INSTALL_BUNDLE) . ; \
fi
endif
@$(call TargetExit)
...
...
common/makefiles/javadoc/CORE_PKGS.gmk
浏览文件 @
1d43dc73
...
...
@@ -127,6 +127,11 @@ CORE_PKGS = \
java.sql \
java.text \
java.text.spi \
java.time \
java.time.temporal \
java.time.calendar \
java.time.format \
java.time.zone \
java.util \
java.util.concurrent \
java.util.concurrent.atomic \
...
...
common/makefiles/javadoc/Javadoc.gmk
浏览文件 @
1d43dc73
# Copyright (c) 1997, 201
2
, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 1997, 201
3
, 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
...
...
@@ -46,14 +46,11 @@ HOTSPOT_DOCS_IMPORT_PATH=$(HOTSPOT_OUTPUTDIR)/docs
BUILD_NUMBER=$(JDK_BUILD_NUMBER)
BOOT_JAVA_CMD=$(JAVA)
JAVADOC_JAR = $(LANGTOOLS_DIST)/bootstrap/lib/javadoc.jar
JAVADOC_CMD = $(BOOT_JAVA_CMD) \
JAVADOC_CMD = $(JAVA) \
-Xmx1024m \
-Djava.awt.headless=true \
"-Xbootclasspath/p:$(JAVADOC_JAR)"
\
-jar $(JAVADOC_JAR)
-bootclasspath $(JDK_OUTPUTDIR)/classes
$(NEW_JAVADOC)
\
-bootclasspath $(JDK_OUTPUTDIR)/classes
# Copyright year for beginning of Java and some of the apis
# (Needed when creating the javadocs)
...
...
@@ -269,6 +266,7 @@ COMMON_JAVADOCFLAGS = \
-quiet \
-use \
-keywords \
-Xdoclint:none \
-Xprofilespath $(JDK_TOPDIR)/makefiles/profile-rtjar-includes.txt \
$(ADDITIONAL_JAVADOCFLAGS)
...
...
make/install-rules.gmk
浏览文件 @
1d43dc73
...
...
@@ -96,6 +96,9 @@ endif
combo_build:
@$(ECHO) $@ installer combo build started: `$(DATE) '+%y-%m-%d %H:%M'`
$(CD) $(INSTALL_TOPDIR)/make/installer/bundles/windows/ishield/wrapper/wrapper.jreboth ; $(MAKE) all
$(CD) $(INSTALL_TOPDIR)/make/installer/bundles/windows/ishield/wrapper/wrapper.new64jre ; $(MAKE) all
$(CD) $(INSTALL_TOPDIR)/make/installer/bundles/windows/ishield/jre ; $(MAKE) au_combo
$(CD) $(INSTALL_TOPDIR)/make/installer/bundles/windows/xmlinffile ; $(MAKE) all
install-clobber:
ifeq ($(BUILD_INSTALL), true)
...
...
make/jprt.properties
浏览文件 @
1d43dc73
...
...
@@ -92,6 +92,7 @@ jprt.make.rule.core.test.targets= \
${jprt.my.test.target.set:TESTNAME=jdk_text},
\
${jprt.my.test.target.set:TESTNAME=jdk_tools},
\
${jprt.my.test.target.set:TESTNAME=jdk_jfr},
\
${jprt.my.test.target.set:TESTNAME=jdk_time},
\
${jprt.my.test.target.set:TESTNAME=jdk_other}
# All vm test targets (testset=all)
...
...
test/Makefile
浏览文件 @
1d43dc73
...
...
@@ -63,7 +63,8 @@ JDK_DEFAULT_TEST_LIST = \
jdk_nio
\
jdk_security1
\
jdk_text
\
jdk_util
jdk_util
\
jdk_time
# These tests are not part of the default testing list
JDK_NONDEFAULT_TEST_LIST
=
\
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录