nashorn/test/script/basic/NASHORN-40.js.EXPECTED
author martin
Wed, 10 Dec 2014 09:23:00 -0800
changeset 28057 1a47ceecdba5
parent 20929 f2bd18181940
permissions -rw-r--r--
8065804: JEP 171: Clarifications/corrections for fence intrinsics Reviewed-by: dholmes, shade, dl, psandoz
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
20929
f2bd18181940 8026167: Class cache/reuse of 'eval' scripts results in ClassCastException in some cases.
sundar
parents: 16147
diff changeset
     1
SyntaxError:32:Expected an operand but found .
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     2
print(.foo)
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     3
      ^
20929
f2bd18181940 8026167: Class cache/reuse of 'eval' scripts results in ClassCastException in some cases.
sundar
parents: 16147
diff changeset
     4
SyntaxError:38:Expected an operand but found .
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     5
.bar = 3423;
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     6
^