specification of j.l.c.MethodTypeDesc::of should document better the exceptions thrown

XMLWordPrintable

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

      The method MethodTypeDesc of(ClassDesc returnDesc, ClassDesc... paramDescs) does not follow to the expected assertion that is missed​:
      @throws IllegalArgumentException if any element of {@code paramDescs} is a {@link ClassDesc} for {@code void}

      Also the current assertion for NPE should be:
      @throws NullPointerException if any argument or its contents are {@code null}

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

              Created:
              Updated:
              Resolved: