This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository jitescript.

commit 19d92dc825f4844348275465114db5cc7d85c9c0
Author: Emmanuel Bourg <ebo...@apache.org>
Date:   Mon Dec 11 00:14:04 2017 +0100

    Fixed the build failure with ASM 6.0 (Closes: #884044)
---
 debian/changelog                          |  7 +++++++
 debian/patches/01-asm-compatibility.patch | 26 ++++++++++++++++++++++++++
 debian/patches/series                     |  1 +
 3 files changed, 34 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 1a927ba..c9b9b9f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+jitescript (0.4.1-3) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Fixed the build failure with ASM 6.0 (Closes: #884044)
+
+ -- Emmanuel Bourg <ebo...@apache.org>  Mon, 11 Dec 2017 00:13:31 +0100
+
 jitescript (0.4.1-2) unstable; urgency=medium
 
   * Replace B-D on libasm4-java with libasm-java.
diff --git a/debian/patches/01-asm-compatibility.patch 
b/debian/patches/01-asm-compatibility.patch
new file mode 100644
index 0000000..8bc6971
--- /dev/null
+++ b/debian/patches/01-asm-compatibility.patch
@@ -0,0 +1,26 @@
+Description: Fixes the build failure with the version of ASM in Debian
+Author: Emmanuel Bourg <ebo...@apache.org>
+Forwarded: no
+Bug-Debian: https://bugs.debian.org/884044
+--- a/src/main/java/me/qmx/jitescript/FieldDefinition.java
++++ b/src/main/java/me/qmx/jitescript/FieldDefinition.java
+@@ -22,7 +22,7 @@
+ 
+     public FieldNode getFieldNode() {
+         FieldNode node = new FieldNode(modifiers, fieldName, signature, null, 
value);
+-        node.visibleAnnotations = new ArrayList<VisibleAnnotation>();
++        node.visibleAnnotations = new ArrayList();
+         for (VisibleAnnotation annotation : annotations) {
+             node.visibleAnnotations.add(annotation.getNode());
+         }
+--- a/src/main/java/me/qmx/jitescript/MethodDefinition.java
++++ b/src/main/java/me/qmx/jitescript/MethodDefinition.java
+@@ -55,7 +55,7 @@
+ 
+     public MethodNode getMethodNode() {
+         MethodNode method = new MethodNode(getModifiers(), getMethodName(), 
getSignature(), null, null);
+-        method.visibleAnnotations = new ArrayList<VisibleAnnotation>();
++        method.visibleAnnotations = new ArrayList();
+         method.instructions.add(getMethodBody().getInstructionList());
+         for (TryCatchBlockNode tryCatchBlockNode : 
getMethodBody().getTryCatchBlockList()) {
+             method.tryCatchBlocks.add(tryCatchBlockNode);
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2d47737
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-asm-compatibility.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-java/jitescript.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

Reply via email to