mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-24 07:39:09 +00:00
In ClassUtils.forName(), we originally delegated to ClassLoader.loadClass(), which does not support loading classes from binary names for arrays (such as "[[I" for "int[][]" or "[Ljava.lang.String;" for "String[]"); whereas, Class.forName() does support binary names for arrays. However, in Spring Framework 5.1.1 we switched from using ClassLoader.loadClass() to Class.forName() in ClassUtils.forName() (see gh-21867), which makes our custom handling of binary names for arrays in ClassUtils.forName() obsolete. In light of that, this commit removes our custom binary array name handling support from ClassUtils.forName(). Closes gh-34291