set javac source / target version to 1.8 to fix issues with Java 11
This commit is contained in:
parent
7024f86eec
commit
d196524c5a
@ -36,7 +36,7 @@
|
||||
<!-- Build classes -->
|
||||
<target name="classes" depends="prepare">
|
||||
<javac srcdir="${src}" destdir="${build.classes}"
|
||||
debug="off" optimize="on" deprecation="on"/>
|
||||
debug="off" optimize="on" deprecation="on" source="1.8" target="1.8" />
|
||||
</target>
|
||||
|
||||
<!-- Build jar archives -->
|
||||
@ -61,6 +61,7 @@
|
||||
packagenames="${packagenames}"
|
||||
splitindex="true"
|
||||
use="true"
|
||||
source="1.8"
|
||||
additionalparam="-Xdoclint:none">
|
||||
<link href="${j2se.apidoc}"/>
|
||||
</javadoc>
|
||||
|
@ -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 <decathorpe@gmail.com> - 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 <jvanek@redhat.com> - 0:2.7.7-61
|
||||
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user