Blob Blame History Raw
From d9e8b91443a89a4493c3c96b979079c2d65c73cd Mon Sep 17 00:00:00 2001
From: Alexander Scheel <ascheel@redhat.com>
Date: Mon, 17 Aug 2020 19:15:39 -0400
Subject: [PATCH] Switch to JDK8 source/target compatibility

Signed-off-by: Alexander Scheel <ascheel@redhat.com>
---
 build.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build.xml b/build.xml
index 0610cd4..3c945a6 100644
--- a/build.xml
+++ b/build.xml
@@ -20,7 +20,7 @@
 <project name="tomcatjss" default="main" basedir=".">
   <!--
      Give user a chance to override without editing this file
-       (and without typing -D each time it compiles it) 
+       (and without typing -D each time it compiles it)
    -->
 
   <property file=".ant.properties"/>
@@ -217,7 +217,7 @@
         description="compile the source " >
     <!-- Compile the java code from ${src} into ${build} -->
     <mkdir dir="${build.classes}"/>
-    <javac debug="on" destdir="${build.classes}">
+    <javac debug="on" destdir="${build.classes}" source="1.8" target="1.8">
       <src path="src"/>
       <src path="${src.dir}"/>
       <classpath refid="classpath"/>
-- 
2.26.2