mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8087136: regression: apply on $EXEC fails with ClassCastException
Reviewed-by: hannesw, lagergren
This commit is contained in:
parent
0f1bfba6c9
commit
f3198a6632
3 changed files with 11 additions and 11 deletions
|
@ -46,3 +46,5 @@ $EXEC("ls", "" /* no stdin */, ["-l", "-a"])
|
|||
// Output of running external commands is returned from $EXEC:
|
||||
print($EXEC("ls"))
|
||||
|
||||
// apply on $EXEC
|
||||
print($EXEC.apply(this, ["ls"]));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue