Skip to content

Commit 7695be0

Browse files
committed
Merge branch '6.2.x'
2 parents e44a3eb + dba4881 commit 7695be0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-core/src/main/java/org/springframework/cglib/core/AbstractClassGenerator.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ protected Class generate(ClassLoaderData data) {
360360
// SPRING PATCH BEGIN
361361
if (inNativeImage) {
362362
throw new UnsupportedOperationException("CGLIB runtime enhancement not supported on native image. " +
363-
"Make sure to enable Spring AOT processing in order to pre-generate this class: " + getClassName());
363+
"Make sure to enable Spring AOT processing to pre-generate '" + getClassName() + "' at build time.");
364364
}
365365
// SPRING PATCH END
366366
byte[] b = strategy.generate(this);

0 commit comments

Comments
 (0)