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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 13
    • 12, 13
    • core-libs
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: