From c7d68c2a6cea3b629f6373134a2f401403b755cf Mon Sep 17 00:00:00 2001 From: zzz Date: Thu, 19 Nov 2015 17:48:56 +0000 Subject: [PATCH] Require Java 7 for SAM separate option javac.compilerargs7 for Java 7 --- apps/sam/java/build.xml | 12 +++++++----- build.properties | 3 +++ 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/apps/sam/java/build.xml b/apps/sam/java/build.xml index 5d93ae476..9ecc58b8c 100644 --- a/apps/sam/java/build.xml +++ b/apps/sam/java/build.xml @@ -21,7 +21,9 @@ - + + + @@ -30,22 +32,22 @@ - + - + diff --git a/build.properties b/build.properties index 195a13c6b..897e3c24e 100644 --- a/build.properties +++ b/build.properties @@ -43,8 +43,11 @@ javac.version=1.6 #javac.classpath=/PATH/TO/pack200.jar # Optional compiler args +# This one is for subsystems requiring Java 6 # This one keeps gcj a lot quieter #javac.compilerargs=-warn:-unchecked,raw,unused,serial +# This one is for subsystems requiring Java 7 +#javac.compilerargs7= # # Note to packagers, embedders, distributors: