[jenkins] 15/22: use-stock-asm3

James Downing Page jamespage at alioth.debian.org
Tue Aug 13 11:47:03 UTC 2013


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

jamespage pushed a commit to branch patch-queue/master
in repository jenkins.

commit 2e64719df6fc277036a4f44e0612516bc42004e5
Author: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
Date:   Sun Aug 11 10:41:39 2013 +0100

    use-stock-asm3
    
    
    Gbp-Pq-Topic: build
---
 core/pom.xml                                          |    7 +++++++
 core/src/main/java/hudson/util/SubClassGenerator.java |    8 ++++----
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/core/pom.xml b/core/pom.xml
index a668216..dc325b4 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -585,6 +585,13 @@ THE SOFTWARE.
     </dependency>
 
     <dependency>
+      <!-- with this, stapler can load parameter names from the debug info -->
+      <groupId>asm</groupId>
+      <artifactId>asm-commons</artifactId>
+      <version>2.2.3</version>
+    </dependency>
+
+    <dependency>
       <groupId>org.kohsuke</groupId>
       <artifactId>access-modifier-annotation</artifactId>
       <version>1.4</version>
diff --git a/core/src/main/java/hudson/util/SubClassGenerator.java b/core/src/main/java/hudson/util/SubClassGenerator.java
index d40a9e9..4486a37 100644
--- a/core/src/main/java/hudson/util/SubClassGenerator.java
+++ b/core/src/main/java/hudson/util/SubClassGenerator.java
@@ -25,13 +25,13 @@ package hudson.util;
 
 import hudson.PluginManager.UberClassLoader;
 import jenkins.model.Jenkins;
-import org.kohsuke.asm3.ClassWriter;
-import org.kohsuke.asm3.MethodVisitor;
-import org.kohsuke.asm3.Type;
+import org.objectweb.asm.ClassWriter;
+import org.objectweb.asm.MethodVisitor;
+import org.objectweb.asm.Type;
 
 import java.lang.reflect.Constructor;
 
-import static org.kohsuke.asm3.Opcodes.*;
+import static org.objectweb.asm.Opcodes.*;
 
 /**
  * Generates a new class that just defines constructors into the super types.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jenkins.git



More information about the pkg-java-commits mailing list