Upgrade CGLIB to ASM9 level as well

See gh-24872
This commit is contained in:
Juergen Hoeller
2020-10-23 11:47:03 +02:00
parent cff57ca1fe
commit 1ec6843913
2 changed files with 3 additions and 3 deletions

View File

@@ -53,7 +53,7 @@ public interface Opcodes {
/**
* <i>Experimental, use at your own risk. This field will be renamed when it becomes stable, this
* will break existing code using it. Only code compiled with --enable-preview can use this.</i>
* <p>SPRING PATCH: no preview mode check for ASM 9 experimental, enabling it by default.
* <p>SPRING PATCH: no preview mode check for ASM 10 experimental, enabling it by default.
*/
int ASM10_EXPERIMENTAL = 1 << 24 | 10 << 16 | 0 << 8;

View File

@@ -21,10 +21,10 @@ import org.springframework.asm.Opcodes;
final class AsmApi {
/**
* SPRING PATCH: always returns ASM7.
* SPRING PATCH: always returns ASM9.
*/
static int value() {
return Opcodes.ASM7;
return Opcodes.ASM9;
}
private AsmApi() {