polishing
This fixes a Java6 backward compatible issue introduced in the JCache implementation. This commit also adds new representative tests. Issue: SPR-9616
This commit is contained in:
@@ -119,7 +119,7 @@ public abstract class BaseCacheOperation<A extends Annotation> implements JCache
|
||||
|
||||
private static List<CacheParameterDetail> initializeAllParameterDetails(Method method) {
|
||||
List<CacheParameterDetail> result = new ArrayList<CacheParameterDetail>();
|
||||
for (int i = 0; i < method.getParameterCount(); i++) {
|
||||
for (int i = 0; i < method.getParameterTypes().length; i++) {
|
||||
CacheParameterDetail detail = new CacheParameterDetail(method, i);
|
||||
result.add(detail);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user