test/hotspot/jtreg/runtime/linkResolver/TestDeletedMethod_Super.jcod
author dholmes
Tue, 09 Oct 2018 20:19:22 -0400
changeset 52066 49a21be61dcd
permissions -rw-r--r--
8211065: Private method check in linkResolver is incorrect Reviewed-by: acorn, lfoltan
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
52066
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
     1
/*
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
     2
 * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
     4
 *
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
     7
 * published by the Free Software Foundation.
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
     8
 *
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    13
 * accompanied this code).
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    14
 *
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    18
 *
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    21
 * questions.
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    22
 */
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    23
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    24
// We have set the class file version to 49 to allow relaxed access checks
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    25
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    26
class TestDeletedMethod_Super {
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    27
  0xCAFEBABE;
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    28
  0; // minor version
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    29
  49; // version
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    30
  [] { // Constant Pool
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    31
    ; // first element is empty
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    32
    Method #6 #19; // #1
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    33
    Field #20 #21; // #2
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    34
    String #22; // #3
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    35
    Method #23 #24; // #4
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    36
    class #25; // #5
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    37
    class #26; // #6
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    38
    Utf8 "ID"; // #7
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    39
    Utf8 "I"; // #8
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    40
    Utf8 "ConstantValue"; // #9
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    41
    int 0x00000002; // #10
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    42
    Utf8 "<init>"; // #11
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    43
    Utf8 "()V"; // #12
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    44
    Utf8 "Code"; // #13
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    45
    Utf8 "LineNumberTable"; // #14
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    46
    Utf8 "m"; // #15
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    47
    Utf8 "()I"; // #16
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    48
    Utf8 "SourceFile"; // #17
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    49
    Utf8 "TestDeletedMethod.java"; // #18
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    50
    NameAndType #11 #12; // #19
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    51
    class #27; // #20
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    52
    NameAndType #28 #29; // #21
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    53
    Utf8 "Super.m"; // #22
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    54
    class #30; // #23
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    55
    NameAndType #31 #32; // #24
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    56
    Utf8 "TestDeletedMethod_Super"; // #25
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    57
    Utf8 "java/lang/Object"; // #26
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    58
    Utf8 "java/lang/System"; // #27
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    59
    Utf8 "out"; // #28
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    60
    Utf8 "Ljava/io/PrintStream;"; // #29
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    61
    Utf8 "java/io/PrintStream"; // #30
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    62
    Utf8 "println"; // #31
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    63
    Utf8 "(Ljava/lang/String;)V"; // #32
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    64
  } // Constant Pool
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    65
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    66
  0x0020; // access
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    67
  #5;// this_cpx
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    68
  #6;// super_cpx
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    69
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    70
  [] { // Interfaces
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    71
  } // Interfaces
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    72
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    73
  [] { // fields
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    74
    { // Member
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    75
      0x0019; // access
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    76
      #7; // name_cpx
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    77
      #8; // sig_cpx
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    78
      [] { // Attributes
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    79
        Attr(#9) { // ConstantValue
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    80
          #10;
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    81
        } // end ConstantValue
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    82
      } // Attributes
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    83
    } // Member
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    84
  } // fields
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    85
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    86
  [] { // methods
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    87
    { // Member
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    88
      0x0000; // access
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    89
      #11; // name_cpx
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    90
      #12; // sig_cpx
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    91
      [] { // Attributes
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    92
        Attr(#13) { // Code
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    93
          1; // max_stack
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    94
          1; // max_locals
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    95
          Bytes[]{
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    96
            0x2AB70001B1;
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    97
          };
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    98
          [] { // Traps
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
    99
          } // end Traps
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   100
          [] { // Attributes
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   101
            Attr(#14) { // LineNumberTable
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   102
              [] { // LineNumberTable
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   103
                0  35;
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   104
              }
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   105
            } // end LineNumberTable
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   106
          } // Attributes
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   107
        } // end Code
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   108
      } // Attributes
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   109
    } // Member
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   110
    ;
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   111
    { // Member
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   112
      0x000A; // access
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   113
      #15; // name_cpx
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   114
      #16; // sig_cpx
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   115
      [] { // Attributes
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   116
        Attr(#13) { // Code
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   117
          2; // max_stack
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   118
          0; // max_locals
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   119
          Bytes[]{
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   120
            0xB200021203B60004;
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   121
            0x05AC;
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   122
          };
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   123
          [] { // Traps
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   124
          } // end Traps
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   125
          [] { // Attributes
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   126
            Attr(#14) { // LineNumberTable
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   127
              [] { // LineNumberTable
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   128
                0  38;
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   129
                8  39;
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   130
              }
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   131
            } // end LineNumberTable
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   132
          } // Attributes
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   133
        } // end Code
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   134
      } // Attributes
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   135
    } // Member
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   136
  } // methods
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   137
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   138
  [] { // Attributes
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   139
    Attr(#17) { // SourceFile
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   140
      #18;
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   141
    } // end SourceFile
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   142
  } // Attributes
49a21be61dcd 8211065: Private method check in linkResolver is incorrect
dholmes
parents:
diff changeset
   143
} // end class TestDeletedMethod_Super