|
|
|
|
@ -360,7 +360,7 @@ abstract public class AbstractClassGenerator<T> implements ClassGenerator {
@@ -360,7 +360,7 @@ abstract public class AbstractClassGenerator<T> implements ClassGenerator {
|
|
|
|
|
// SPRING PATCH BEGIN
|
|
|
|
|
if (inNativeImage) { |
|
|
|
|
throw new UnsupportedOperationException("CGLIB runtime enhancement not supported on native image. " + |
|
|
|
|
"Make sure to include a pre-generated class on the classpath instead: " + getClassName()); |
|
|
|
|
"Make sure to enable Spring AOT processing in order to pre-generate this class: " + getClassName()); |
|
|
|
|
} |
|
|
|
|
// SPRING PATCH END
|
|
|
|
|
byte[] b = strategy.generate(this); |
|
|
|
|
|