Avoid private bean classes in integration tests (for CGLIB on JDK 11)
Issue: SPR-16391
This commit is contained in:
@@ -157,7 +157,7 @@ public class EnableCachingIntegrationTests {
|
||||
}
|
||||
|
||||
|
||||
private interface FooService {
|
||||
interface FooService {
|
||||
|
||||
Object getSimple(Object key);
|
||||
|
||||
@@ -166,7 +166,7 @@ public class EnableCachingIntegrationTests {
|
||||
|
||||
|
||||
@CacheConfig(cacheNames = "testCache")
|
||||
private static class FooServiceImpl implements FooService {
|
||||
static class FooServiceImpl implements FooService {
|
||||
|
||||
private final AtomicLong counter = new AtomicLong();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user