Remove AopProxyUtils.completeJdkProxyInterfaces(String...)
Since gh-28781 is still open for team discussion, this commit removes the `String...` variant for AopProxyUtils.completeJdkProxyInterfaces. Depending on the outcome of gh-28781, this method may be reintroduced in 6.0 M6. Closes gh-28745
This commit is contained in:
@@ -144,23 +144,6 @@ class AopProxyUtilsTests {
|
||||
ITestBean.class, Comparable.class, SpringProxy.class, Advised.class, DecoratingProxy.class);
|
||||
}
|
||||
|
||||
@Test
|
||||
void completeJdkProxyInterfacesFromSingleClassName() {
|
||||
String[] jdkProxyInterfaces = AopProxyUtils.completeJdkProxyInterfaces(ITestBean.class.getName());
|
||||
assertThat(jdkProxyInterfaces).containsExactly(
|
||||
ITestBean.class.getName(), SpringProxy.class.getName(), Advised.class.getName(),
|
||||
DecoratingProxy.class.getName());
|
||||
}
|
||||
|
||||
@Test
|
||||
void completeJdkProxyInterfacesFromMultipleClassNames() {
|
||||
String[] jdkProxyInterfaces =
|
||||
AopProxyUtils.completeJdkProxyInterfaces(ITestBean.class.getName(), Comparable.class.getName());
|
||||
assertThat(jdkProxyInterfaces).containsExactly(
|
||||
ITestBean.class.getName(), Comparable.class.getName(), SpringProxy.class.getName(),
|
||||
Advised.class.getName(), DecoratingProxy.class.getName());
|
||||
}
|
||||
|
||||
|
||||
sealed interface SealedInterface {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user