Hello community, here is the log from the commit of package objectweb-asm for openSUSE:Factory checked in at 2018-07-24 17:32:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/objectweb-asm (Old) and /work/SRC/openSUSE:Factory/.objectweb-asm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "objectweb-asm" Tue Jul 24 17:32:02 2018 rev:19 rq:620875 version:3.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/objectweb-asm/objectweb-asm.changes 2017-10-06 10:55:26.066060088 +0200 +++ /work/SRC/openSUSE:Factory/.objectweb-asm.new/objectweb-asm.changes 2018-07-24 17:32:06.128040462 +0200 @@ -1,0 +2,9 @@ +Wed May 16 07:57:32 UTC 2018 - fst...@suse.com + +- Build with source and target 8 to prepare for a possible removal + of 1.6 compatibility +- Added patch: + * asm-3.3.1-jdk9.patch + + Since JDK9, "_" is reserved keyword + +------------------------------------------------------------------- New: ---- asm-3.3.1-jdk9.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ objectweb-asm.spec ++++++ --- /var/tmp/diff_new_pack.I405wz/_old 2018-07-24 17:32:06.792041299 +0200 +++ /var/tmp/diff_new_pack.I405wz/_new 2018-07-24 17:32:06.796041305 +0200 @@ -1,7 +1,7 @@ # # spec file for package objectweb-asm # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -35,8 +35,9 @@ Source9: asm-MANIFEST.MF Patch0: objectweb-asm-no-classpath-in-manifest.patch Patch1: asm-3.3.1-sourcetarget.patch +Patch2: asm-3.3.1-jdk9.patch BuildRequires: ant >= 1.6.5 -BuildRequires: java-devel >= 1.6 +BuildRequires: java-devel >= 1.8 BuildRequires: javapackages-local BuildRequires: javapackages-tools BuildRequires: objectweb-anttask @@ -62,6 +63,7 @@ %setup -q -n asm-%{version} %patch0 -p1 %patch1 -p1 +%patch2 -p1 perl -pi -e 's/\r$//g' LICENSE.txt README.txt mkdir META-INF cp -p %{SOURCE9} META-INF/MANIFEST.MF @@ -71,7 +73,7 @@ export OPT_JAR_LIST=: ant \ -Dobjectweb.ant.tasks.path=$(build-classpath objectweb-anttask) \ - -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 \ + -Dant.build.javac.source=8 -Dant.build.javac.target=8 \ jar %install ++++++ asm-3.3.1-jdk9.patch ++++++ --- asm-3.3.1/src/org/objectweb/asm/util/CheckMethodAdapter.java 2010-12-19 09:35:58.000000000 +0100 +++ asm-3.3.1/src/org/objectweb/asm/util/CheckMethodAdapter.java 2018-05-16 09:39:36.099879920 +0200 @@ -1009,7 +1009,7 @@ checkIdentifier(name, begin, slash, null); begin = slash + 1; } while (slash != max); - } catch (IllegalArgumentException _) { + } catch (IllegalArgumentException ex) { throw new IllegalArgumentException("Invalid " + msg + " (must be a fully qualified class name in internal form): " @@ -1083,7 +1083,7 @@ } try { checkInternalName(desc, start + 1, index, null); - } catch (IllegalArgumentException _) { + } catch (IllegalArgumentException ex) { throw new IllegalArgumentException("Invalid descriptor: " + desc); }