Skip to content

Commit 0389fcc

Browse files
committed
Fix sporadically failing SpEL test
1 parent bb3ada4 commit 0389fcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-context/src/test/java/org/springframework/context/expression/ApplicationContextExpressionTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public String getConversationId() {
117117
ac.registerBeanDefinition("tb1", bd1);
118118

119119
GenericBeanDefinition bd2 = new GenericBeanDefinition();
120-
bd2.setBeanClassName("#{tb1.class.name}");
120+
bd2.setBeanClassName("#{tb1.class}");
121121
bd2.setScope("myScope");
122122
bd2.getPropertyValues().add("name", "{ XXX#{tb0.name}YYY#{mySpecialAttr}ZZZ }");
123123
bd2.getPropertyValues().add("age", "#{mySpecialAttr}");

0 commit comments

Comments
 (0)