We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7a6a7b commit 716e7deCopy full SHA for 716e7de
spring-expression/src/main/java/org/springframework/expression/spel/ast/SpelNodeImpl.java
@@ -308,7 +308,9 @@ private static Class<?> loadClassForExitDescriptor(@Nullable String exitDescript
308
return null;
309
}
310
String typeDescriptor = exitDescriptor;
311
- if (typeDescriptor.startsWith("[") || typeDescriptor.startsWith("L")) {
+ // If the SpEL exitDescriptor is not for a primitive (single character),
312
+ // ASM expects the typeDescriptor to end with a ';'.
313
+ if (typeDescriptor.length() > 1) {
314
typeDescriptor += ";";
315
316
String className = Type.getType(typeDescriptor).getClassName();
0 commit comments