test/nashorn/script/basic/eval.js.EXPECTED
author phh
Sat, 30 Nov 2019 14:33:05 -0800
changeset 59330 5b96c12f909d
parent 47216 71c04702a3d5
permissions -rw-r--r--
8234541: C1 emits an empty message when it inlines successfully Summary: Use "inline" as the message when successfull Reviewed-by: thartmann, mdoerr Contributed-by: navy.xliu@gmail.com
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     1
eval.length 1
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     2
100
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     3
1100
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     4
200
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     5
2200
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     6
100
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     7
2200
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     8
300
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     9
3300
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    10
100
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    11
3300
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    12
is syntax error? true
20929
f2bd18181940 8026167: Class cache/reuse of 'eval' scripts results in ClassCastException in some cases.
sundar
parents: 16147
diff changeset
    13
SyntaxError:69:Missing close quote
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    14
print('hello)
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    15
             ^