From e95251b3b5672fe1d2ad9fe7b8de08f69bc7b1e5 Mon Sep 17 00:00:00 2001 From: Jaikiran Pai Date: Tue, 4 Jun 2019 09:55:38 +0530 Subject: [PATCH] Separate out the compilation for classes that need JDK9+, from the regular compilation and set the --release to 8 for the regular compilation target Mail discussion reference https://mail-archives.apache.org/mod_mbox/ant-dev/201905.mbox/%3c10b1ea11-5ac7-df66-c020-038c8a1a0045@apache.org%3e --- build.xml | 121 ++++++++++++++++++++++++++++++++---------------------- 1 file changed, 73 insertions(+), 48 deletions(-) diff --git a/build.xml b/build.xml index 358765f52..216296328 100644 --- a/build.xml +++ b/build.xml @@ -106,6 +106,7 @@ + @@ -594,12 +595,67 @@ Build the code =================================================================== --> - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -645,60 +702,27 @@ + + + + - - - - - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - -