File: 01-upgrade-asm.patch

package info (click to toggle)
spock 1.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,136 kB
  • sloc: java: 17,367; javascript: 11,706; xml: 208; makefile: 4
file content (20 lines) | stat: -rw-r--r-- 672 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Update to ASM 5
Origin: backport, https://github.com/spockframework/spock/commit/83c2cc7
--- a/spock-core/src/main/java/org/spockframework/buildsupport/EmptyAnnotationVisitor.java
+++ b/spock-core/src/main/java/org/spockframework/buildsupport/EmptyAnnotationVisitor.java
@@ -19,7 +19,7 @@ import org.objectweb.asm.AnnotationVisit
 
 class EmptyAnnotationVisitor extends AnnotationVisitor {
   public EmptyAnnotationVisitor() {
-    super(Opcodes.ASM4);
+    super(Opcodes.ASM5);
   }
 
   public void visit(String s, Object o) {}
@@ -35,4 +35,4 @@ class EmptyAnnotationVisitor extends Ann
   }
 
   public void visitEnd() {}
-}
\ No newline at end of file
+}