-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 12, 13
-
Component/s: core-libs
-
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
-