-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b127
-
Verified
Acording to documentation,
IllegalArgumentException - if either index is out of range in its corresponding list, or if the non-skipped target parameter types match the new types at pos
Expected: for list L index should be in [0, L.size())
Actual: for list L index could be in [0, L.size()]
Examples attached (for 'target' and 'newType' both). I suppose it'd be better to specify bounds of indices (e.g. IAE in the case of index more then corresponding list's size).
Test development is in the process. tck_red will be added after test develpment completion.
Was found on jdk9b120
IllegalArgumentException - if either index is out of range in its corresponding list, or if the non-skipped target parameter types match the new types at pos
Expected: for list L index should be in [0, L.size())
Actual: for list L index could be in [0, L.size()]
Examples attached (for 'target' and 'newType' both). I suppose it'd be better to specify bounds of indices (e.g. IAE in the case of index more then corresponding list's size).
Test development is in the process. tck_red will be added after test develpment completion.
Was found on jdk9b120