changeset 53746:e738d80f0d45 jep-334

additional javadoc for DynamicCallSiteDesc::bootstrapArgs
author vromero
date Thu, 06 Dec 2018 13:14:06 -0500
parents 9fdcbc01f6ab
children 90d94f72994b 03fc38443e5e 23316828524e
files src/java.base/share/classes/java/lang/constant/DynamicCallSiteDesc.java
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/lang/constant/DynamicCallSiteDesc.java	Thu Dec 06 11:42:42 2018 -0500
+++ b/src/java.base/share/classes/java/lang/constant/DynamicCallSiteDesc.java	Thu Dec 06 13:14:06 2018 -0500
@@ -213,7 +213,9 @@
 
     /**
      * Returns {@link ConstantDesc}s describing the bootstrap arguments for the
-     * {@code invokedynamic}.
+     * {@code invokedynamic}. The returned array is always non-null. A zero
+     * length array is returned if this {@linkplain DynamicCallSiteDesc} has no
+     * bootstrap arguments.
      *
      * @return the bootstrap arguments for the {@code invokedynamic}
      */