8224158: assertion related to NPE at DynamicCallSiteDesc::withArgs should be reworded

Reviewed-by: jlahoda
This commit is contained in:
Vicente Romero 2021-05-24 15:55:04 +00:00
parent 838a007103
commit f04db5fbd7

View file

@ -156,7 +156,7 @@ public class DynamicCallSiteDesc {
* to the bootstrap, that would appear in the * to the bootstrap, that would appear in the
* {@code BootstrapMethods} attribute * {@code BootstrapMethods} attribute
* @return the nominal descriptor * @return the nominal descriptor
* @throws NullPointerException if any parameter is null * @throws NullPointerException if the argument or its contents are {@code null}
*/ */
public DynamicCallSiteDesc withArgs(ConstantDesc... bootstrapArgs) { public DynamicCallSiteDesc withArgs(ConstantDesc... bootstrapArgs) {
return new DynamicCallSiteDesc(bootstrapMethod, invocationName, invocationType, bootstrapArgs); return new DynamicCallSiteDesc(bootstrapMethod, invocationName, invocationType, bootstrapArgs);