set javac source / target version to 1.8 to fix issues with Java 11
Resolves: RHEL-68777
This commit is contained in:
parent
9a0431dc8a
commit
ee7d083818
@ -36,7 +36,7 @@
|
|||||||
<!-- Build classes -->
|
<!-- Build classes -->
|
||||||
<target name="classes" depends="prepare">
|
<target name="classes" depends="prepare">
|
||||||
<javac srcdir="${src}" destdir="${build.classes}"
|
<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>
|
</target>
|
||||||
|
|
||||||
<!-- Build jar archives -->
|
<!-- Build jar archives -->
|
||||||
@ -61,6 +61,7 @@
|
|||||||
packagenames="${packagenames}"
|
packagenames="${packagenames}"
|
||||||
splitindex="true"
|
splitindex="true"
|
||||||
use="true"
|
use="true"
|
||||||
|
source="1.8"
|
||||||
additionalparam="-Xdoclint:none">
|
additionalparam="-Xdoclint:none">
|
||||||
<link href="${j2se.apidoc}"/>
|
<link href="${j2se.apidoc}"/>
|
||||||
</javadoc>
|
</javadoc>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
Summary: ANother Tool for Language Recognition
|
Summary: ANother Tool for Language Recognition
|
||||||
Name: antlr
|
Name: antlr
|
||||||
Version: 2.7.7
|
Version: 2.7.7
|
||||||
Release: 72%{?dist}
|
Release: 73%{?dist}
|
||||||
License: ANTLR-PD
|
License: ANTLR-PD
|
||||||
URL: http://www.antlr2.org/
|
URL: http://www.antlr2.org/
|
||||||
# ./generate-tarball.sh
|
# ./generate-tarball.sh
|
||||||
@ -128,6 +128,9 @@ install -p -m 755 scripts/antlr-config $RPM_BUILD_ROOT%{_bindir}
|
|||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 04 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.7.7-73
|
||||||
|
- set javac source / target version to 1.8 to fix issues with Java 11
|
||||||
|
|
||||||
* Sun Nov 24 2024 Marián Konček <mkoncek@redhat.com> - 2.7.7-72
|
* Sun Nov 24 2024 Marián Konček <mkoncek@redhat.com> - 2.7.7-72
|
||||||
- Rebuild
|
- Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user