This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to branch master in repository asm.
commit e2b1e10cca1a8589843e137e380828702d9ac344 Author: Emmanuel Bourg <ebo...@apache.org> Date: Mon Nov 20 12:16:03 2017 +0100 Disabled the Java 5 compatibility check to build with Java 9 --- debian/changelog | 8 ++++++++ debian/patches/disable-retrofitter.patch | 28 ++++++++++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 37 insertions(+) diff --git a/debian/changelog b/debian/changelog index acd10a4..6977994 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +asm (6.0-1) UNRELEASED; urgency=medium + + * Team upload. + * New upstream release + - Disabled the Java 5 compatibility check to build with Java 9 + + -- Emmanuel Bourg <ebo...@apache.org> Mon, 20 Nov 2017 15:48:25 +0100 + asm (6.0~alpha-2) unstable; urgency=medium * Team upload. diff --git a/debian/patches/disable-retrofitter.patch b/debian/patches/disable-retrofitter.patch new file mode 100644 index 0000000..7847af4 --- /dev/null +++ b/debian/patches/disable-retrofitter.patch @@ -0,0 +1,28 @@ +Description: Disable the Java 5 compatibility check to build with Java 9 +Author: Emmanuel Bourg <ebo...@apache.org> +Forwarded: not-needed +--- a/build.xml ++++ b/build.xml +@@ -138,7 +138,7 @@ + + <target name="retrofit" depends="compile-debug"> + <echo message="Retrofitting" /> +- <java classname="org.objectweb.asm.tools.Retrofitter" failonerror="true"> ++ <java classname="org.objectweb.asm.tools.Retrofitter" failonerror="false"> + <classpath> + <pathelement location="${out.build}/tmp" /> + </classpath> +--- a/src/org/objectweb/asm/tools/Retrofitter.java ++++ b/src/org/objectweb/asm/tools/Retrofitter.java +@@ -193,9 +193,9 @@ + public void visit(final int version, final int access, + final String name, final String signature, + final String superName, final String[] interfaces) { +- if ((version & 0xFFFF) > Opcodes.V1_5) { ++ if ((version & 0xFFFF) > Opcodes.V1_6) { + System.err.println( +- "ERROR: " + name + " version is newer than 1.5"); ++ "ERROR: " + name + " version is newer than 1.6"); + ok = false; + } + className = name; diff --git a/debian/patches/series b/debian/patches/series index 9364614..1ce33e5 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ encoding.patch reproducible-javadoc.diff disable-module-info-bnd-plugin.patch +disable-retrofitter.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/asm.git _______________________________________________ pkg-java-commits mailing list pkg-java-comm...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits