Browse Source

Document ASM version as 9.x (effectively 9.1 at present)

pull/26556/head
Juergen Hoeller 5 years ago
parent
commit
f48c3d9b67
  1. 2
      spring-core/src/main/java/org/springframework/asm/AnnotationVisitor.java
  2. 2
      spring-core/src/main/java/org/springframework/asm/ClassVisitor.java
  3. 2
      spring-core/src/main/java/org/springframework/asm/FieldVisitor.java
  4. 2
      spring-core/src/main/java/org/springframework/asm/MethodVisitor.java
  5. 2
      spring-core/src/main/java/org/springframework/asm/ModuleVisitor.java
  6. 2
      spring-core/src/main/java/org/springframework/asm/RecordComponentVisitor.java
  7. 4
      spring-core/src/main/java/org/springframework/asm/SpringAsmInfo.java
  8. 2
      spring-core/src/main/java/org/springframework/asm/package-info.java

2
spring-core/src/main/java/org/springframework/asm/AnnotationVisitor.java

@ -77,7 +77,7 @@ public abstract class AnnotationVisitor { @@ -77,7 +77,7 @@ public abstract class AnnotationVisitor {
&& api != Opcodes.ASM10_EXPERIMENTAL) {
throw new IllegalArgumentException("Unsupported api " + api);
}
// SPRING PATCH: no preview mode check for ASM 9 experimental
// SPRING PATCH: no preview mode check for ASM experimental
this.api = api;
this.av = annotationVisitor;
}

2
spring-core/src/main/java/org/springframework/asm/ClassVisitor.java

@ -77,7 +77,7 @@ public abstract class ClassVisitor { @@ -77,7 +77,7 @@ public abstract class ClassVisitor {
&& api != Opcodes.ASM10_EXPERIMENTAL) {
throw new IllegalArgumentException("Unsupported api " + api);
}
// SPRING PATCH: no preview mode check for ASM 9 experimental
// SPRING PATCH: no preview mode check for ASM experimental
this.api = api;
this.cv = classVisitor;
}

2
spring-core/src/main/java/org/springframework/asm/FieldVisitor.java

@ -76,7 +76,7 @@ public abstract class FieldVisitor { @@ -76,7 +76,7 @@ public abstract class FieldVisitor {
&& api != Opcodes.ASM10_EXPERIMENTAL) {
throw new IllegalArgumentException("Unsupported api " + api);
}
// SPRING PATCH: no preview mode check for ASM 9 experimental
// SPRING PATCH: no preview mode check for ASM experimental
this.api = api;
this.fv = fieldVisitor;
}

2
spring-core/src/main/java/org/springframework/asm/MethodVisitor.java

@ -89,7 +89,7 @@ public abstract class MethodVisitor { @@ -89,7 +89,7 @@ public abstract class MethodVisitor {
&& api != Opcodes.ASM10_EXPERIMENTAL) {
throw new IllegalArgumentException("Unsupported api " + api);
}
// SPRING PATCH: no preview mode check for ASM 9 experimental
// SPRING PATCH: no preview mode check for ASM experimental
this.api = api;
this.mv = methodVisitor;
}

2
spring-core/src/main/java/org/springframework/asm/ModuleVisitor.java

@ -75,7 +75,7 @@ public abstract class ModuleVisitor { @@ -75,7 +75,7 @@ public abstract class ModuleVisitor {
&& api != Opcodes.ASM10_EXPERIMENTAL) {
throw new IllegalArgumentException("Unsupported api " + api);
}
// SPRING PATCH: no preview mode check for ASM 9 experimental
// SPRING PATCH: no preview mode check for ASM experimental
this.api = api;
this.mv = moduleVisitor;
}

2
spring-core/src/main/java/org/springframework/asm/RecordComponentVisitor.java

@ -75,7 +75,7 @@ public abstract class RecordComponentVisitor { @@ -75,7 +75,7 @@ public abstract class RecordComponentVisitor {
&& api != Opcodes.ASM10_EXPERIMENTAL) {
throw new IllegalArgumentException("Unsupported api " + api);
}
// SPRING PATCH: no preview mode check for ASM 9 experimental
// SPRING PATCH: no preview mode check for ASM experimental
this.api = api;
this.delegate = recordComponentVisitor;
}

4
spring-core/src/main/java/org/springframework/asm/SpringAsmInfo.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2020 the original author or authors.
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -18,7 +18,7 @@ package org.springframework.asm; @@ -18,7 +18,7 @@ package org.springframework.asm;
/**
* Utility class exposing constants related to Spring's internal repackaging
* of the ASM bytecode library: currently based on ASM 9.0 plus minor patches.
* of the ASM bytecode library: currently based on ASM 9.x plus minor patches.
*
* <p>See <a href="package-summary.html">package-level javadocs</a> for more
* information on {@code org.springframework.asm}.

2
spring-core/src/main/java/org/springframework/asm/package-info.java

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
/**
* Spring's repackaging of
* <a href="https://gitlab.ow2.org/asm/asm">ASM 9.0</a>
* <a href="https://gitlab.ow2.org/asm/asm">ASM 9.x</a>
* (with Spring-specific patches; for internal use only).
*
* <p>This repackaging technique avoids any potential conflicts with

Loading…
Cancel
Save