From 4788e7a7d27e50e9e57122e01f2900dd8b7be3435b3c136526838728b22a5fbc Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 8 Sep 2017 08:34:53 +0000 Subject: [PATCH] Fix build with java 9 OBS-URL: https://build.opensuse.org/package/show/Java:packages/jtidy?expand=0&rev=11 --- jtidy.changes | 8 ++++++++ jtidy.spec | 2 +- maven-build.xml | 8 ++++---- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/jtidy.changes b/jtidy.changes index a916415..8ffad30 100644 --- a/jtidy.changes +++ b/jtidy.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Sep 8 08:34:01 UTC 2017 - fstrba@suse.com + +- Modified file: + * maven-build.xml + + Specify java source and target level 1.6 in order to allow + building with jdk9 + ------------------------------------------------------------------- Thu Dec 5 19:41:32 UTC 2013 - dvaleev@suse.com diff --git a/jtidy.spec b/jtidy.spec index 68599af..1d95f50 100644 --- a/jtidy.spec +++ b/jtidy.spec @@ -1,7 +1,7 @@ # # spec file for package jtidy # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/maven-build.xml b/maven-build.xml index e36f5c0..1ed868f 100644 --- a/maven-build.xml +++ b/maven-build.xml @@ -79,10 +79,10 @@ debug="true" optimize="false" deprecation="true" - target="1.3" + target="1.6" verbose="false" fork="false" - source="1.3"> + source="1.6"> @@ -108,10 +108,10 @@ debug="true" optimize="false" deprecation="true" - target="1.3" + target="1.6" verbose="false" fork="false" - source="1.3"> + source="1.6">