Document ASM version as 9.x (effectively 9.1 at present)
This commit is contained in:
parent
6b705443a6
commit
f48c3d9b67
|
|
@ -77,7 +77,7 @@ public abstract class AnnotationVisitor {
|
||||||
&& api != Opcodes.ASM10_EXPERIMENTAL) {
|
&& api != Opcodes.ASM10_EXPERIMENTAL) {
|
||||||
throw new IllegalArgumentException("Unsupported api " + api);
|
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.api = api;
|
||||||
this.av = annotationVisitor;
|
this.av = annotationVisitor;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,7 @@ public abstract class ClassVisitor {
|
||||||
&& api != Opcodes.ASM10_EXPERIMENTAL) {
|
&& api != Opcodes.ASM10_EXPERIMENTAL) {
|
||||||
throw new IllegalArgumentException("Unsupported api " + api);
|
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.api = api;
|
||||||
this.cv = classVisitor;
|
this.cv = classVisitor;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -76,7 +76,7 @@ public abstract class FieldVisitor {
|
||||||
&& api != Opcodes.ASM10_EXPERIMENTAL) {
|
&& api != Opcodes.ASM10_EXPERIMENTAL) {
|
||||||
throw new IllegalArgumentException("Unsupported api " + api);
|
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.api = api;
|
||||||
this.fv = fieldVisitor;
|
this.fv = fieldVisitor;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,7 @@ public abstract class MethodVisitor {
|
||||||
&& api != Opcodes.ASM10_EXPERIMENTAL) {
|
&& api != Opcodes.ASM10_EXPERIMENTAL) {
|
||||||
throw new IllegalArgumentException("Unsupported api " + api);
|
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.api = api;
|
||||||
this.mv = methodVisitor;
|
this.mv = methodVisitor;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,7 @@ public abstract class ModuleVisitor {
|
||||||
&& api != Opcodes.ASM10_EXPERIMENTAL) {
|
&& api != Opcodes.ASM10_EXPERIMENTAL) {
|
||||||
throw new IllegalArgumentException("Unsupported api " + api);
|
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.api = api;
|
||||||
this.mv = moduleVisitor;
|
this.mv = moduleVisitor;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,7 @@ public abstract class RecordComponentVisitor {
|
||||||
&& api != Opcodes.ASM10_EXPERIMENTAL) {
|
&& api != Opcodes.ASM10_EXPERIMENTAL) {
|
||||||
throw new IllegalArgumentException("Unsupported api " + api);
|
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.api = api;
|
||||||
this.delegate = recordComponentVisitor;
|
this.delegate = recordComponentVisitor;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|
@ -18,7 +18,7 @@ package org.springframework.asm;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Utility class exposing constants related to Spring's internal repackaging
|
* 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
|
* <p>See <a href="package-summary.html">package-level javadocs</a> for more
|
||||||
* information on {@code org.springframework.asm}.
|
* information on {@code org.springframework.asm}.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
/**
|
/**
|
||||||
* Spring's repackaging of
|
* 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).
|
* (with Spring-specific patches; for internal use only).
|
||||||
*
|
*
|
||||||
* <p>This repackaging technique avoids any potential conflicts with
|
* <p>This repackaging technique avoids any potential conflicts with
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue