nashorn/test/script/basic/JDK-8062141.js.EXPECTED
author hannesw
Fri, 03 Feb 2017 13:28:00 +0100
changeset 43555 1bb10bccf057
parent 33689 a42cdb474da0
permissions -rw-r--r--
8173888: Test for JDK-8169481 causes stack overflows in parser tests Reviewed-by: jlaskey, sundar
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
28786
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
     1
"?"
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
     2
SyntaxError: Invalid JSON: <json>:1:4 Invalid hex digit
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
     3
"\u0"
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
     4
    ^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
     5
SyntaxError: Invalid JSON: <json>:1:4 Invalid hex digit
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
     6
"\u0"
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
     7
    ^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
     8
SyntaxError: Invalid JSON: <json>:1:5 Invalid hex digit
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
     9
"\u00"
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    10
     ^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    11
SyntaxError: Invalid JSON: <json>:1:6 Invalid hex digit
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    12
"\u003"
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    13
      ^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    14
SyntaxError: Invalid JSON: <json>:1:6 Invalid hex digit
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    15
"\u003x"
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    16
      ^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    17
SyntaxError: Invalid JSON: <json>:1:3 Missing close quote
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    18
"\"
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    19
   ^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    20
SyntaxError: Invalid JSON: <json>:1:1 Missing close quote
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    21
"
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    22
 ^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    23
SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found +
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    24
+1
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    25
^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    26
-1
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    27
SyntaxError: Invalid JSON: <json>:1:2 Invalid JSON number format
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    28
1.
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    29
  ^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    30
SyntaxError: Invalid JSON: <json>:1:0 Invalid JSON number format
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    31
.1
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    32
^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    33
SyntaxError: Invalid JSON: <json>:1:1 Expected eof but found 1
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    34
01
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    35
 ^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    36
SyntaxError: Invalid JSON: <json>:1:2 Invalid JSON number format
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    37
1e
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    38
  ^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    39
1
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    40
SyntaxError: Invalid JSON: <json>:1:1 Expected eof but found a
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    41
1a
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    42
 ^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    43
SyntaxError: Invalid JSON: <json>:1:3 Invalid JSON number format
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    44
1e+
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    45
   ^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    46
SyntaxError: Invalid JSON: <json>:1:3 Invalid JSON number format
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    47
1e-
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    48
   ^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    49
0
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    50
0
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    51
[]
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    52
[1]
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    53
SyntaxError: Invalid JSON: <json>:1:3 Trailing comma is not allowed in JSON
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    54
[1,]
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    55
   ^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    56
[1,2]
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    57
SyntaxError: Invalid JSON: <json>:1:5 Expected , or ] but found eof
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    58
[1, 2
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    59
     ^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    60
{}
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    61
{"a":"b"}
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    62
SyntaxError: Invalid JSON: <json>:1:12 Expected , or } but found eof
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    63
{ "a" : "b" 
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    64
            ^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    65
SyntaxError: Invalid JSON: <json>:1:8 Expected json literal but found }
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    66
{ "a" : }
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    67
        ^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    68
true
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    69
SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found ident
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    70
tru
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    71
^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    72
SyntaxError: Invalid JSON: <json>:1:4 Expected eof but found 1
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    73
true1
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    74
    ^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    75
false
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    76
SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found ident
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    77
fals
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    78
^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    79
SyntaxError: Invalid JSON: <json>:1:5 Expected eof but found r
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    80
falser
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    81
     ^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    82
null
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    83
SyntaxError: Invalid JSON: <json>:1:0 Expected json literal but found ident
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    84
nul
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    85
^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    86
SyntaxError: Invalid JSON: <json>:1:4 Expected eof but found 0
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    87
null0
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    88
    ^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    89
SyntaxError: Invalid JSON: <json>:1:3 Expected eof but found 0
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    90
{} 0
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    91
   ^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    92
SyntaxError: Invalid JSON: <json>:1:3 Expected eof but found a
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    93
{} a
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    94
   ^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    95
SyntaxError: Invalid JSON: <json>:1:3 Expected eof but found 0
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    96
[] 0
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    97
   ^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    98
SyntaxError: Invalid JSON: <json>:1:3 Expected eof but found a
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
    99
[] a
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
   100
   ^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
   101
SyntaxError: Invalid JSON: <json>:1:2 Expected eof but found 0
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
   102
1 0
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
   103
  ^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
   104
SyntaxError: Invalid JSON: <json>:1:2 Expected eof but found a
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
   105
1 a
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
   106
  ^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
   107
SyntaxError: Invalid JSON: <json>:1:4 Expected , or ] but found :
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
   108
["a":true]
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
   109
    ^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
   110
SyntaxError: Invalid JSON: <json>:1:4 Expected : but found ,
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
   111
{"a",truer}
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
   112
    ^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
   113
SyntaxError: Invalid JSON: <json>:1:9 Expected , or } but found r
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
   114
{"a":truer}
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
   115
         ^
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
   116
[1,2,3]
33689
a42cdb474da0 8010803: Number to String conversion functionality overhaul
hannesw
parents: 28786
diff changeset
   117
[9223372036854774000,9223372036854775000,9223372036854776000]
28786
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
   118
[1.1,1.2,1.3]
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
   119
[1,1.2,9223372036854776000,null,true]
679fd2d26470 8062141: Various performance issues parsing JSON
hannesw
parents:
diff changeset
   120
{"a":"string","b":1,"c":1.2,"d":9223372036854776000,"e":null,"f":true}