changeset 1195:0968cf527e32

Add support for anyutil; add -source valhalla to build
author mcimadamore
date Wed, 01 Apr 2015 16:38:55 +0100
parents 609465a9f324
children 04e53cff8282
files make/common/CORE_PKGS.gmk make/common/SetupJavaCompilers.gmk
diffstat 2 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/make/common/CORE_PKGS.gmk	Wed Oct 15 10:57:57 2014 +0100
+++ b/make/common/CORE_PKGS.gmk	Wed Apr 01 16:38:55 2015 +0100
@@ -129,6 +129,10 @@
     java.time.format \
     java.time.temporal \
     java.time.zone \
+    java.anyutil \
+    java.anyutil.concurrent \
+    java.anyutil.function \
+    java.anyutil.stream \
     java.util \
     java.util.concurrent \
     java.util.concurrent.atomic \
--- a/make/common/SetupJavaCompilers.gmk	Wed Oct 15 10:57:57 2014 +0100
+++ b/make/common/SetupJavaCompilers.gmk	Wed Apr 01 16:38:55 2015 +0100
@@ -32,7 +32,7 @@
 
 # To build with all warnings enabled, do the following:
 # make JAVAC_WARNINGS="-Xlint:all -Xmaxwarns 10000"
-JAVAC_WARNINGS := -Xlint:all,-deprecation -Werror
+JAVAC_WARNINGS := -Xlint:all,-deprecation
 
 # The BOOT_JAVAC setup uses the boot jdk compiler to compile the tools
 # and the interim javac, to be run by the boot jdk.
@@ -60,7 +60,7 @@
 $(eval $(call SetupJavaCompiler,GENERATE_JDKBYTECODE, \
     JVM := $(JAVA), \
     JAVAC := $(NEW_JAVAC), \
-    FLAGS := -source 9 -target 9 \
+    FLAGS := -source valhalla -target 9 \
         -encoding ascii -XDignore.symbol.file=true $(JAVAC_WARNINGS) \
         $(GENERATE_JDKBYTECODE_EXTRA_FLAGS), \
     SERVER_DIR := $(SJAVAC_SERVER_DIR), \
@@ -71,7 +71,7 @@
 $(eval $(call SetupJavaCompiler,GENERATE_JDKBYTECODE_NOWARNINGS, \
     JVM := $(JAVA), \
     JAVAC := $(NEW_JAVAC), \
-    FLAGS := -source 9 -target 9 \
+    FLAGS := -source valhalla -target 9 \
         -encoding ascii -XDignore.symbol.file=true $(DISABLE_WARNINGS) \
         $(GENERATE_JDKBYTECODE_EXTRA_FLAGS), \
     SERVER_DIR := $(SJAVAC_SERVER_DIR), \