mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-15 16:44:36 +02:00
8068741: javax.script.ScriptEngineFactory.getMethodCallSyntax() spec allows null passed as an object
Reviewed-by: hannesw
This commit is contained in:
parent
f441abcff1
commit
d6cf9ab9cd
3 changed files with 67 additions and 3 deletions
|
@ -176,6 +176,8 @@ public interface ScriptEngineFactory {
|
|||
* @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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue