j.l.c.MethodTypeDesc spec should contain precise assertions for one parameter's methods

XMLWordPrintable

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

      Methods MethodTypeDesc:changeReturnType, ofDescriptor have the ​assertion: Throws: NullPointerException - if any argument is null. It should be reworded because methods have only one parameter.

      Method j.l.c.MethodHandleDesc:asType - missing assertion:
      Throws NullPointerException - if the argument is null

      Cosmetic issue:
      All assertions of class MethodTypeDesc that define ranges use the syntax
       {[ start, end]} except the method dropParameterTypes that uses [0, parameterCount] for the end parameter i.e. there are missing curly brackets

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

              Created:
              Updated:
              Resolved: