From 92c6c7100265e93acfd20be99166b9889e86197a0bb5d63b054c894d7504d410 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Sun, 10 Sep 2017 07:07:03 +0000 Subject: [PATCH] Fix build with jdk9 OBS-URL: https://build.opensuse.org/package/show/Java:packages/oro?expand=0&rev=13 --- oro.changes | 6 ++++++ oro.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/oro.changes b/oro.changes index eb9128f..3ae94ef 100644 --- a/oro.changes +++ b/oro.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Sep 10 07:06:34 UTC 2017 - fstrba@suse.com + +- Specify java source and target level 1.6 in order to allow + building with jdk9 + ------------------------------------------------------------------- Fri Jun 9 10:22:50 UTC 2017 - tchvatal@suse.com diff --git a/oro.spec b/oro.spec index 833789f..52d0b83 100644 --- a/oro.spec +++ b/oro.spec @@ -53,7 +53,7 @@ for file in `find . -type f -name .cvsignore`; do rm -rf $file; done %build ant \ - -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 \ + -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 \ -Dfinal.name=%{name} jar %install