author | hannesw |
Wed, 27 Apr 2016 15:50:33 +0200 | |
changeset 37732 | 3673fec68d16 |
parent 34731 | 585a112b3719 |
permissions | -rw-r--r-- |
34731
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
1 |
<<< >>> |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
2 |
* noargs via shebang |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
3 |
S: |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
4 |
|
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
5 |
* noargs via jjs |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
6 |
S: |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
7 |
|
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
8 |
* withargs via shebang |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
9 |
S:a.js,hello world |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
10 |
|
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
11 |
* withargs via jjs |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
12 |
S:a.js,hello world |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
13 |
|
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
14 |
<<< --language=es6 >>> |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
15 |
* noargs via shebang |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
16 |
S: |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
17 |
|
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
18 |
* noargs via jjs |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
19 |
S: |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
20 |
|
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
21 |
* withargs via shebang |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
22 |
S:a.js,hello world |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
23 |
|
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
24 |
* withargs via jjs |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
25 |
S:a.js,hello world |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
26 |
|
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
27 |
<<< --language=es6 -scripting >>> |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
28 |
* noargs via shebang |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
29 |
S: |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
30 |
|
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
31 |
* noargs via jjs |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
32 |
S: |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
33 |
|
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
34 |
* withargs via shebang |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
35 |
S:a.js,hello world |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
36 |
|
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
37 |
* withargs via jjs |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
38 |
S:a.js,hello world |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
39 |
|
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
40 |
<<< -scripting a.js >>> |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
41 |
* noargs via shebang |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
42 |
A: |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
43 |
S: |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
44 |
|
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
45 |
* noargs via jjs |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
46 |
S: |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
47 |
|
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
48 |
* withargs via shebang |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
49 |
A: |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
50 |
S: |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
51 |
A: |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
52 |
java.io.IOException: hello world is not a file |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
53 |
* withargs via jjs |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
54 |
S:a.js,hello world |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
55 |
|
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
56 |
<<< -scripting b.js >>> |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
57 |
* noargs via shebang |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
58 |
B:./shebang.js |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
59 |
|
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
60 |
* noargs via jjs |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
61 |
S: |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
62 |
|
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
63 |
* withargs via shebang |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
64 |
B:./shebang.js,a.js,hello world |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
65 |
|
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
66 |
* withargs via jjs |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
67 |
S:a.js,hello world |
585a112b3719
8144221: fix Nashorn shebang argument handling on Mac/Linux
mhaupt
parents:
diff
changeset
|
68 |