-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
8u60, 9
-
None
The fix for JDK-8143642 broke the case where a shebang expression has no arguments at all, and no arguments are passed:
#!/usr/local/bin/jjs
print(23)
Running this script without passing any arguments will break with an IndexOutOfBoundsException.
#!/usr/local/bin/jjs
print(23)
Running this script without passing any arguments will break with an IndexOutOfBoundsException.
- duplicates
-
JDK-8143642 Nashorn shebang argument handling is broken
- Resolved
- relates to
-
JDK-8143642 Nashorn shebang argument handling is broken
- Resolved
-
JDK-8144221 fix Nashorn shebang argument handling on Mac/Linux
- Resolved