提交 a47c3cdb 编写于 作者: C Chuansheng Lu

[Misc] Added 'preview' to version string

Summary: added 'preview' to version string;
refined configure parameters to follow OpenJDK conventions
see http://openjdk.java.net/jeps/223

Test Plan: sanity test

Reviewed-by: sanhong.lsh, kuaiwei.kw

Issue: https://aone.alibaba-inc.com/task/23921848
上级 11360267
......@@ -38,8 +38,9 @@ bash ./configure --with-freetype=system \
--with-vendor-name="Alibaba" \
--with-vendor-url="http://www.alibabagroup.com" \
--with-vendor-bug-url="mailto:dragonwell_use@googlegroups.com" \
--with-version-pre="Dragonwell" \
--with-version-opt="Alibaba" \
--with-vendor-version-string="(Alibaba Dragonwell)" \
--with-version-pre="preview" \
--with-version-opt="" \
--with-version-build="${BUILD_NUMBER}" \
--with-version-feature="11" \
--with-version-patch="${DRAGONWELL_VERSION}" \
......
......@@ -499,7 +499,8 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
[Set vendor version string @<:@not specified@:>@])])
if test "x$with_vendor_version_string" = xyes; then
AC_MSG_ERROR([--with-vendor-version-string must have a value])
elif [ ! [[ $with_vendor_version_string =~ ^[[:graph:]]*$ ]] ]; then
elif [ ! [[ $with_vendor_version_string =~ ^[[:print:]]*$ ]] ]; then
# Dragonwell supports white spaces in vendor-version-string
AC_MSG_ERROR([--with--vendor-version-string contains non-graphical characters: $with_vendor_version_string])
else
VENDOR_VERSION_STRING="$with_vendor_version_string"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册