--- a/src/java.scripting/share/classes/javax/script/ScriptEngineFactory.java Wed Nov 15 19:55:21 2017 +0530
+++ b/src/java.scripting/share/classes/javax/script/ScriptEngineFactory.java Wed Nov 15 23:25:40 2017 +0530
@@ -176,6 +176,8 @@
* @param args names of the arguments in the method call.
*
* @return The String used to invoke the method in the syntax of the scripting language.
+ *
+ * @throws NullPointerException if obj or m or args or any of the elements of args is null.
*/
public String getMethodCallSyntax(String obj, String m, String... args);