test/nashorn/script/basic/NASHORN-117.js
author erikj
Tue, 12 Sep 2017 19:03:39 +0200
changeset 47216 71c04702a3d5
parent 24778 nashorn/test/script/basic/NASHORN-117.js@2ff5d7041566
permissions -rw-r--r--
8187443: Forest Consolidation: Move files to unified layout Reviewed-by: darcy, ihse
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     1
/*
16151
97c1e756ae1e 8005663: Update copyright year to 2013
jlaskey
parents: 16147
diff changeset
     2
 * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
24778
2ff5d7041566 8044638: Tidy up Nashorn codebase for code standards
attila
parents: 16151
diff changeset
     4
 *
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     7
 * published by the Free Software Foundation.
24778
2ff5d7041566 8044638: Tidy up Nashorn codebase for code standards
attila
parents: 16151
diff changeset
     8
 *
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    13
 * accompanied this code).
24778
2ff5d7041566 8044638: Tidy up Nashorn codebase for code standards
attila
parents: 16151
diff changeset
    14
 *
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
24778
2ff5d7041566 8044638: Tidy up Nashorn codebase for code standards
attila
parents: 16151
diff changeset
    18
 *
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    21
 * questions.
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    22
 */
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    23
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    24
/**
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    25
 * NASHORN-117 :  StackOverflowError because of recursive class loading involving LayoutGenerator
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    26
 *
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    27
 * @test
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    28
 * @run
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    29
 */
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    30
24778
2ff5d7041566 8044638: Tidy up Nashorn codebase for code standards
attila
parents: 16151
diff changeset
    31
// The following code results in StackOverflowError
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    32
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    33
var i0 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    34
var o0 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    35
var i1 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    36
var o1 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    37
var i2 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    38
var o2 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    39
var i3 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    40
var o3 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    41
var i4 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    42
var o4 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    43
var i5 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    44
var o5 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    45
var i6 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    46
var o6 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    47
var i7 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    48
var o7 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    49
var i8 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    50
var o8 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    51
var i9 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    52
var o9 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    53
var i10 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    54
var o10 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    55
var i11 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    56
var o11 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    57
var i12 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    58
var o12 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    59
var i13 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    60
var o13 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    61
var i14 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    62
var o14 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    63
var i15 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    64
var o15 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    65
var i16 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    66
var o16 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    67
var i17 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    68
var o17 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    69
var i18 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    70
var o18 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    71
var i19 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    72
var o19 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    73
var i20 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    74
var o20 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    75
var i21 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    76
var o21 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    77
var i22 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    78
var o22 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    79
var i23 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    80
var o23 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    81
var i24 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    82
var o24 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    83
var i25 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    84
var o25 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    85
var i26 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    86
var o26 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    87
var i27 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    88
var o27 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    89
var i28 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    90
var o28 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    91
var i29 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    92
var o29 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    93
var i30 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    94
var o30 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    95
var i31 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    96
var o31 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    97
var i32 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    98
var o32 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    99
var i33 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   100
var o33 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   101
var i34 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   102
var o34 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   103
var i35 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   104
var o35 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   105
var i36 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   106
var o36 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   107
var i37 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   108
var o37 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   109
var i38 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   110
var o38 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   111
var i39 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   112
var o39 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   113
var i40 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   114
var o40 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   115
var i41 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   116
var o41 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   117
var i42 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   118
var o42 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   119
var i43 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   120
var o43 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   121
var i44 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   122
var o44 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   123
var i45 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   124
var o45 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   125
var i46 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   126
var o46 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   127
var i47 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   128
var o47 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   129
var i48 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   130
var o48 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   131
var i49 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   132
var o49 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   133
var i50 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   134
var o50 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   135
var i51 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   136
var o51 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   137
var i52 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   138
var o52 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   139
var i53 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   140
var o53 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   141
var i54 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   142
var o54 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   143
var i55 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   144
var o55 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   145
var i56 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   146
var o56 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   147
var i57 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   148
var o57 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   149
var i58 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   150
var o58 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   151
var i59 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   152
var o59 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   153
var i60 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   154
var o60 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   155
var i61 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   156
var o61 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   157
var i62 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   158
var o62 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   159
var i63 = "";
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
   160
var o63 = "";