Merge branch '5.1.x'

This commit is contained in:
Juergen Hoeller
2019-02-27 17:34:46 +01:00
4 changed files with 101 additions and 6 deletions

View File

@@ -774,7 +774,7 @@ public abstract class ClassUtils {
*/
@SuppressWarnings("deprecation") // on JDK 9
public static Class<?> createCompositeInterface(Class<?>[] interfaces, @Nullable ClassLoader classLoader) {
Assert.notEmpty(interfaces, "Interfaces must not be empty");
Assert.notEmpty(interfaces, "Interface array must not be empty");
return Proxy.getProxyClass(classLoader, interfaces);
}