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:
Sam Brannen
2022-07-11 17:03:50 +02:00
parent 7bfcb4c753
commit 49dfcad447
2 changed files with 0 additions and 53 deletions

View File

@@ -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 {
}