asSpreader() & asCollector() WMTE assertions probably not needed

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Not an Issue
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: core-libs
    • None

      MethodHandle.asSpreader() and MethodHandle.asCollector() have the assertion:
      "WrongMethodTypeException - if the implied asType call fails"

      MethodHandle.asType() assertion:
      "WrongMethodTypeException - if the conversion cannot be made"

      Which is probably covered by IllegalArgumentException of asSpreader() and asCollector(). If there are any cases which lead to WrongMethodTypeException thrown by asSpreader() or asCollector(), I will be grateful for them.

            Assignee:
            Michael Haupt
            Reporter:
            Kirill Fertikov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: