From d196524c5a1e07e9a36e69bd5eb3cc2c06922af1 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 21 Jul 2020 11:42:36 +0200 Subject: [PATCH] set javac source / target version to 1.8 to fix issues with Java 11 --- antlr-build.xml | 3 ++- antlr.spec | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/antlr-build.xml b/antlr-build.xml index d280255..9f37eca 100644 --- a/antlr-build.xml +++ b/antlr-build.xml @@ -36,7 +36,7 @@ + debug="off" optimize="on" deprecation="on" source="1.8" target="1.8" /> @@ -61,6 +61,7 @@ packagenames="${packagenames}" splitindex="true" use="true" + source="1.8" additionalparam="-Xdoclint:none"> diff --git a/antlr.spec b/antlr.spec index 5040ce6..6de88c2 100644 --- a/antlr.spec +++ b/antlr.spec @@ -7,7 +7,7 @@ Summary: ANother Tool for Language Recognition Name: antlr Version: 2.7.7 -Release: 61%{?dist} +Release: 62%{?dist} Epoch: 0 License: ANTLR-PD URL: http://www.antlr2.org/ @@ -210,6 +210,9 @@ cd ../.. %endif %changelog +* Tue Jul 21 2020 Fabio Valentini - 0:2.7.7-62 +- Set javac source / target version to 1.8 to fix issues with Java 11. + * Fri Jul 10 2020 Jiri Vanek - 0:2.7.7-61 - Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11