[Git][java-team/jarjar][master] Updated the ASM compatibility patch to handle Java 11+ bytecode
Emmanuel Bourg (@ebourg)
gitlab at salsa.debian.org
Wed May 11 12:29:33 BST 2022
Emmanuel Bourg pushed to branch master at Debian Java Maintainers / jarjar
Commits:
83bea9f9 by Emmanuel Bourg at 2022-05-11T13:29:18+02:00
Updated the ASM compatibility patch to handle Java 11+ bytecode
- - - - -
2 changed files:
- debian/changelog
- debian/patches/0006-asm-compatibility.patch
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+jarjar (1.4+svn142-12) unstable; urgency=medium
+
+ * Team upload.
+ * Updated the ASM compatibility patch to handle Java 11+ bytecode
+
+ -- Emmanuel Bourg <ebourg at apache.org> Wed, 11 May 2022 13:29:07 +0200
+
jarjar (1.4+svn142-11) unstable; urgency=medium
* Team upload.
=====================================
debian/patches/0006-asm-compatibility.patch
=====================================
@@ -62,26 +62,26 @@ Forwarded: no
public EmptyClassVisitor() {
- super(Opcodes.ASM4);
-+ super(Opcodes.ASM6);
++ super(Opcodes.ASM9);
}
@Override
public MethodVisitor visitMethod(int access, String name, String desc,
String signature, String[] exceptions) {
- return new MethodVisitor(Opcodes.ASM4) {};
-+ return new MethodVisitor(Opcodes.ASM6) {};
++ return new MethodVisitor(Opcodes.ASM9) {};
}
@Override
public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
- return new AnnotationVisitor(Opcodes.ASM4) {};
-+ return new AnnotationVisitor(Opcodes.ASM6) {};
++ return new AnnotationVisitor(Opcodes.ASM9) {};
}
@Override
public FieldVisitor visitField(int access, String name, String desc, String signature, Object value) {
- return new FieldVisitor(Opcodes.ASM4) {};
-+ return new FieldVisitor(Opcodes.ASM6) {};
++ return new FieldVisitor(Opcodes.ASM9) {};
}
}
@@ -92,7 +92,7 @@ Forwarded: no
public StringReader() {
- super(Opcodes.ASM4);
-+ super(Opcodes.ASM6);
++ super(Opcodes.ASM9);
}
abstract public void visitString(String className, String value, int line);
@@ -101,7 +101,7 @@ Forwarded: no
public FieldVisitor visitField(int access, String name, String desc, String signature, Object value) {
handleObject(value);
- return new FieldVisitor(Opcodes.ASM4){
-+ return new FieldVisitor(Opcodes.ASM6){
++ return new FieldVisitor(Opcodes.ASM9){
@Override
public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
return StringReader.this.visitAnnotation(desc, visible);
@@ -110,7 +110,7 @@ Forwarded: no
@Override
public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
- return new AnnotationVisitor(Opcodes.ASM4) {
-+ return new AnnotationVisitor(Opcodes.ASM6) {
++ return new AnnotationVisitor(Opcodes.ASM9) {
@Override
public void visit(String name, Object value) {
handleObject(value);
@@ -119,7 +119,7 @@ Forwarded: no
public MethodVisitor visitMethod(int access, String name, String desc,
String signature, String[] exceptions) {
- MethodVisitor mv = new MethodVisitor(Opcodes.ASM4){
-+ MethodVisitor mv = new MethodVisitor(Opcodes.ASM6){
++ MethodVisitor mv = new MethodVisitor(Opcodes.ASM9){
@Override
public void visitLdcInsn(Object cst) {
handleObject(cst);
@@ -130,7 +130,7 @@ Forwarded: no
public GetNameClassWriter(int flags) {
- super(Opcodes.ASM4,new ClassWriter(flags));
-+ super(Opcodes.ASM6,new ClassWriter(flags));
++ super(Opcodes.ASM9,new ClassWriter(flags));
}
public void visit(int version, int access, String name, String signature, String superName, String[] interfaces) {
View it on GitLab: https://salsa.debian.org/java-team/jarjar/-/commit/83bea9f9e41e00275a4ed40f4f84de68383b691c
--
View it on GitLab: https://salsa.debian.org/java-team/jarjar/-/commit/83bea9f9e41e00275a4ed40f4f84de68383b691c
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20220511/690e1926/attachment.htm>
More information about the pkg-java-commits
mailing list