-
Bug
-
Resolution: Fixed
-
P3
-
12, 13
-
None
-
b22
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}
@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}
- csr for
-
JDK-8224136 specification of j.l.c.MethodTypeDesc::of should document better the exceptions thrown
-
- Closed
-