Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8223723

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 13
    • 12, 13
    • 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

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

              Created:
              Updated:
              Resolved: