ASF Bugzilla – Attachment 34814 Details for
Bug 60844
ArrayIndexOutOfBoundsException when matching actionListener
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
SVN diff of fix on Apache Tomcat 8.5.x-trunk repo
ReflectionUtil_ArrayIndexOutOfBounds_FIX.diff (text/plain), 1.06 KB, created by
Daniel Gray
on 2017-03-10 15:50:36 UTC
(
hide
)
Description:
SVN diff of fix on Apache Tomcat 8.5.x-trunk repo
Filename:
MIME Type:
Creator:
Daniel Gray
Created:
2017-03-10 15:50:36 UTC
Size:
1.06 KB
patch
obsolete
>Index: java/org/apache/el/util/ReflectionUtil.java >=================================================================== >--- java/org/apache/el/util/ReflectionUtil.java (revision 1786370) >+++ java/org/apache/el/util/ReflectionUtil.java (working copy) >@@ -184,7 +184,7 @@ > if (isAssignableFrom(paramTypes[j], varType)) { > assignableMatch++; > } else { >- if (paramValues == null) { >+ if (paramValues == null || j >= paramValues.length) { > noMatch = true; > break; > } else { >@@ -203,7 +203,7 @@ > } else if (isAssignableFrom(paramTypes[i], mParamTypes[i])) { > assignableMatch++; > } else { >- if (paramValues == null) { >+ if (paramValues == null || i >= paramValues.length) { > noMatch = true; > break; > } else {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 60844
: 34814