-
Enhancement
-
Resolution: Fixed
-
P4
-
9
-
b72
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8136299 | emb-9 | Michael Haupt | P4 | Resolved | Fixed | team |
JDK-8163769 | 8u121 | Michael Haupt | P4 | Resolved | Fixed | b01 |
JDK-8156746 | 8u112 | Michael Haupt | P4 | Resolved | Fixed | b01 |
JDK-8167936 | emb-8u121 | Unassigned | P4 | Resolved | Fixed | b01 |
Nashorn's scripting mode supports $EXEC to run shell commands. The second argument to an invocation of $EXEC can be a string representing standard input. Currently, passing null or undefined will coerce these into strings, when they should logically represent "no input", as much as the empty string represents "empty input".
An OutputStreamWriter is currently created to pass on standard input to the external process. This is even the case when there is no input, and should be avoided.
An OutputStreamWriter is currently created to pass on standard input to the external process. This is even the case when there is no input, and should be avoided.
- backported by
-
JDK-8136299 streamline input parameter of Nashorn scripting $EXEC function
-
- Resolved
-
-
JDK-8156746 streamline input parameter of Nashorn scripting $EXEC function
-
- Resolved
-
-
JDK-8163769 streamline input parameter of Nashorn scripting $EXEC function
-
- Resolved
-
-
JDK-8167936 streamline input parameter of Nashorn scripting $EXEC function
-
- Resolved
-