From 77b7e49fb2531a405e3d098d3573348fc3706906 Mon Sep 17 00:00:00 2001 From: Oleksandr Kravchuk Date: Thu, 11 Feb 2021 19:09:50 +0200 Subject: [PATCH] Update ref docs for Inner class names This commit updates the reference manual to point out that one may use `.` instead of `$` as the nested class separator when providing a fully qualified class name for a nested class in XML configuration. This commit also updates the test for ClassUtils#forName to assert support for `.` instead of `$`. Closes gh-26540 --- .../tests/sample/objects/TestObject.java | 3 +++ .../org/springframework/util/ClassUtilsTests.java | 2 ++ src/docs/asciidoc/core/core-beans.adoc | 12 +++++------- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/spring-core/src/test/java/org/springframework/tests/sample/objects/TestObject.java b/spring-core/src/test/java/org/springframework/tests/sample/objects/TestObject.java index e36283acc6e..f0dea9af350 100644 --- a/spring-core/src/test/java/org/springframework/tests/sample/objects/TestObject.java +++ b/spring-core/src/test/java/org/springframework/tests/sample/objects/TestObject.java @@ -75,4 +75,7 @@ public class TestObject implements ITestObject, ITestInterface, Comparable