j.l.c.MethodTypeDesc.dropParameterTypes​ throws the undocumented exception: IllegalArgumentException

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 13
    • Affects Version/s: 12, 13
    • Component/s: core-libs
    • None

      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

            Assignee:
            Vicente Arturo Romero Zaldivar
            Reporter:
            Leonid Kuskov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: