Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
f6d12b3e
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
f6d12b3e
编写于
11月 05, 2012
作者:
K
ksrini
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8001191: use -source 8 -target 8 when compiling the JDK
Reviewed-by: chegar, dholmes, erikj, jgish
上级
749e65bb
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
12 addition
and
17 deletion
+12
-17
make/common/shared/Defs-control.gmk
make/common/shared/Defs-control.gmk
+3
-3
make/common/shared/Defs-java.gmk
make/common/shared/Defs-java.gmk
+2
-2
make/java/invoke/Makefile
make/java/invoke/Makefile
+3
-3
makefiles/Setup.gmk
makefiles/Setup.gmk
+1
-1
src/share/classes/sun/tools/java/RuntimeConstants.java
src/share/classes/sun/tools/java/RuntimeConstants.java
+2
-2
src/share/native/java/lang/System.c
src/share/native/java/lang/System.c
+1
-1
test/ProblemList.txt
test/ProblemList.txt
+0
-5
未找到文件。
make/common/shared/Defs-control.gmk
浏览文件 @
f6d12b3e
#
# Copyright (c) 1995, 201
1
, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 1995, 201
2
, 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
...
...
@@ -88,9 +88,9 @@ ABS_TEMP_DIR = $(ABS_OUTPUTDIR)/tmp
dummy := $(shell $(MKDIR) -p $(TEMP_DIR))
# The language version we want for this jdk build
SOURCE_LANGUAGE_VERSION=
7
SOURCE_LANGUAGE_VERSION=
8
# The class version we want for this jdk build
TARGET_CLASS_VERSION=
7
TARGET_CLASS_VERSION=
8
# The MESSAGE, WARNING and ERROR files are used to store sanity check and
# source check messages, warnings and errors.
...
...
make/common/shared/Defs-java.gmk
浏览文件 @
f6d12b3e
...
...
@@ -143,12 +143,12 @@ ifeq ($(wildcard $(SHARE_SRC)/classes/javax/crypto/Cipher.java),)
endif
# Add the source level
SOURCE_LANGUAGE_VERSION =
7
SOURCE_LANGUAGE_VERSION =
8
LANGUAGE_VERSION = -source $(SOURCE_LANGUAGE_VERSION)
JAVACFLAGS += $(LANGUAGE_VERSION)
# Add the class version we want
TARGET_CLASS_VERSION =
7
TARGET_CLASS_VERSION =
8
CLASS_VERSION = -target $(TARGET_CLASS_VERSION)
JAVACFLAGS += $(CLASS_VERSION)
JAVACFLAGS += -encoding ascii
...
...
make/java/invoke/Makefile
浏览文件 @
f6d12b3e
#
# Copyright (c) 2008, 201
1
, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2008, 201
2
, 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
...
...
@@ -36,7 +36,7 @@ FILES_java = \
# The sources built here use new language syntax to generate
# method handle calls. Let's be sure we are using that format.
LANGUAGE_VERSION
=
-source
7
CLASS_VERSION
=
-target
7
LANGUAGE_VERSION
=
-source
8
CLASS_VERSION
=
-target
8
include
$(BUILDDIR)/common/Classes.gmk
makefiles/Setup.gmk
浏览文件 @
f6d12b3e
...
...
@@ -45,7 +45,7 @@ $(eval $(call SetupJavaCompiler,GENERATE_JDKBYTECODE,\
JVM:=$(JAVA),\
JAVAC:=$(JAVAC_JARS),\
JAVAH:=$(JAVAH_JARS),\
FLAGS:=-bootclasspath $(JDK_OUTPUTDIR)/classes -source
7 -target 7
-encoding ascii -XDignore.symbol.file=true $(DISABLE_WARNINGS),\
FLAGS:=-bootclasspath $(JDK_OUTPUTDIR)/classes -source
8 -target 8
-encoding ascii -XDignore.symbol.file=true $(DISABLE_WARNINGS),\
SERVER_DIR:=$(SJAVAC_SERVER_DIR),\
SERVER_JVM:=$(SJAVAC_SERVER_JAVA)))
...
...
src/share/classes/sun/tools/java/RuntimeConstants.java
浏览文件 @
f6d12b3e
/*
* Copyright (c) 1998, 20
05
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 20
12
, 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
...
...
@@ -67,7 +67,7 @@ public interface RuntimeConstants {
/* Class File Constants */
int
JAVA_MAGIC
=
0xcafebabe
;
int
JAVA_MIN_SUPPORTED_VERSION
=
45
;
int
JAVA_MAX_SUPPORTED_VERSION
=
5
1
;
int
JAVA_MAX_SUPPORTED_VERSION
=
5
2
;
int
JAVA_MAX_SUPPORTED_MINOR_VERSION
=
0
;
/* Generate class file version for 1.1 by default */
...
...
src/share/native/java/lang/System.c
浏览文件 @
f6d12b3e
...
...
@@ -102,7 +102,7 @@ Java_java_lang_System_identityHashCode(JNIEnv *env, jobject this, jobject x)
#define VENDOR_URL_BUG "http://bugreport.sun.com/bugreport/"
#endif
#define JAVA_MAX_SUPPORTED_VERSION 5
1
#define JAVA_MAX_SUPPORTED_VERSION 5
2
#define JAVA_MAX_SUPPORTED_MINOR_VERSION 0
#ifdef JAVA_SPECIFICATION_VENDOR
/* Third party may NOT overwrite this. */
...
...
test/ProblemList.txt
浏览文件 @
f6d12b3e
...
...
@@ -137,11 +137,6 @@ java/lang/management/MemoryMXBean/ResetPeakMemoryUsage.java generic-all
# 7196801
java/lang/management/MemoryMXBean/LowMemoryTest2.sh generic-all
# Exclude until hotspot/jdk repos are sync'd w.r.t. JAVA_MAX_SUPPORTED_VERSION
# Needed when hotspot fix 7054345 is present. Remove when the JDK source is
# updated accordingly.
java/lang/System/Versions.java generic-all
############################################################################
# jdk_management
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录