-
Bug
-
Resolution: Fixed
-
P3
-
12, 13
-
None
-
b22
j.l.c.MethodTypeDesc.dropParameterTypes throws the undocumented exception: IllegalArgumentException if start > end.
It's more natural to have the same behavior as dropParameterTypes in interface TypeDescriptor.OfMethod<ClassDesc,MethodTypeDesc>:
Throws:
IndexOutOfBoundsException - if start is outside the half-open range [0, parameterCount), or end is outside the closed range [0, parameterCount], or if start > end
It's more natural to have the same behavior as dropParameterTypes in interface TypeDescriptor.OfMethod<ClassDesc,MethodTypeDesc>:
Throws:
IndexOutOfBoundsException - if start is outside the half-open range [0, parameterCount), or end is outside the closed range [0, parameterCount], or if start > end
- csr for
-
JDK-8223918 j.l.c.MethodTypeDesc.dropParameterTypes throws IllegalArgumentException in a non documented case
- Closed