test/hotspot/jtreg/runtime/6626217/You_Have_Been_P0wned.java
author iignatyev
Thu, 02 Aug 2018 14:40:55 -0700
changeset 51287 7b1ddbafa134
parent 47216 71c04702a3d5
permissions -rw-r--r--
8208655: use JTreg skipped status in hotspot tests Reviewed-by: kvn, hseigel, iklam
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
46503
760f8f589de3 8179861: Missing copyrights in some hotspot files
gtriantafill
parents: 6257
diff changeset
     1
/*
760f8f589de3 8179861: Missing copyrights in some hotspot files
gtriantafill
parents: 6257
diff changeset
     2
 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
760f8f589de3 8179861: Missing copyrights in some hotspot files
gtriantafill
parents: 6257
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
760f8f589de3 8179861: Missing copyrights in some hotspot files
gtriantafill
parents: 6257
diff changeset
     4
 *
760f8f589de3 8179861: Missing copyrights in some hotspot files
gtriantafill
parents: 6257
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
760f8f589de3 8179861: Missing copyrights in some hotspot files
gtriantafill
parents: 6257
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
760f8f589de3 8179861: Missing copyrights in some hotspot files
gtriantafill
parents: 6257
diff changeset
     7
 * published by the Free Software Foundation.
760f8f589de3 8179861: Missing copyrights in some hotspot files
gtriantafill
parents: 6257
diff changeset
     8
 *
760f8f589de3 8179861: Missing copyrights in some hotspot files
gtriantafill
parents: 6257
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
760f8f589de3 8179861: Missing copyrights in some hotspot files
gtriantafill
parents: 6257
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
760f8f589de3 8179861: Missing copyrights in some hotspot files
gtriantafill
parents: 6257
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
760f8f589de3 8179861: Missing copyrights in some hotspot files
gtriantafill
parents: 6257
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
760f8f589de3 8179861: Missing copyrights in some hotspot files
gtriantafill
parents: 6257
diff changeset
    13
 * accompanied this code).
760f8f589de3 8179861: Missing copyrights in some hotspot files
gtriantafill
parents: 6257
diff changeset
    14
 *
760f8f589de3 8179861: Missing copyrights in some hotspot files
gtriantafill
parents: 6257
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
760f8f589de3 8179861: Missing copyrights in some hotspot files
gtriantafill
parents: 6257
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
760f8f589de3 8179861: Missing copyrights in some hotspot files
gtriantafill
parents: 6257
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
760f8f589de3 8179861: Missing copyrights in some hotspot files
gtriantafill
parents: 6257
diff changeset
    18
 *
760f8f589de3 8179861: Missing copyrights in some hotspot files
gtriantafill
parents: 6257
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
760f8f589de3 8179861: Missing copyrights in some hotspot files
gtriantafill
parents: 6257
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
760f8f589de3 8179861: Missing copyrights in some hotspot files
gtriantafill
parents: 6257
diff changeset
    21
 * questions.
760f8f589de3 8179861: Missing copyrights in some hotspot files
gtriantafill
parents: 6257
diff changeset
    22
 *
760f8f589de3 8179861: Missing copyrights in some hotspot files
gtriantafill
parents: 6257
diff changeset
    23
 */
6257
43c2f12b4e90 6977952: Test: Sync missing tests from hs16.3 to hs17.x
asaha
parents:
diff changeset
    24
43c2f12b4e90 6977952: Test: Sync missing tests from hs16.3 to hs17.x
asaha
parents:
diff changeset
    25
// I can cast any old thing I want to this type object:
43c2f12b4e90 6977952: Test: Sync missing tests from hs16.3 to hs17.x
asaha
parents:
diff changeset
    26
public class You_Have_Been_P0wned {
43c2f12b4e90 6977952: Test: Sync missing tests from hs16.3 to hs17.x
asaha
parents:
diff changeset
    27
  // Make a bunch of int-fields so I can peek & poke it
43c2f12b4e90 6977952: Test: Sync missing tests from hs16.3 to hs17.x
asaha
parents:
diff changeset
    28
  int _a;
43c2f12b4e90 6977952: Test: Sync missing tests from hs16.3 to hs17.x
asaha
parents:
diff changeset
    29
  int _b;
43c2f12b4e90 6977952: Test: Sync missing tests from hs16.3 to hs17.x
asaha
parents:
diff changeset
    30
  int _c;
43c2f12b4e90 6977952: Test: Sync missing tests from hs16.3 to hs17.x
asaha
parents:
diff changeset
    31
  int _d;
43c2f12b4e90 6977952: Test: Sync missing tests from hs16.3 to hs17.x
asaha
parents:
diff changeset
    32
43c2f12b4e90 6977952: Test: Sync missing tests from hs16.3 to hs17.x
asaha
parents:
diff changeset
    33
}
43c2f12b4e90 6977952: Test: Sync missing tests from hs16.3 to hs17.x
asaha
parents:
diff changeset
    34