|
|
|
@ -212,8 +212,7 @@ public class ReflectiveMethodInvocation implements ProxyMethodInvocation, Clonea |
|
|
|
Object[] cloneArguments = this.arguments; |
|
|
|
Object[] cloneArguments = this.arguments; |
|
|
|
if (this.arguments.length > 0) { |
|
|
|
if (this.arguments.length > 0) { |
|
|
|
// Build an independent copy of the arguments array.
|
|
|
|
// Build an independent copy of the arguments array.
|
|
|
|
cloneArguments = new Object[this.arguments.length]; |
|
|
|
cloneArguments = this.arguments.clone(); |
|
|
|
System.arraycopy(this.arguments, 0, cloneArguments, 0, this.arguments.length); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
return invocableClone(cloneArguments); |
|
|
|
return invocableClone(cloneArguments); |
|
|
|
} |
|
|
|
} |
|
|
|
|