test/hotspot/jtreg/runtime/duplAttributes/DuplAttributes.jcod
author ssahoo
Wed, 04 Jul 2018 03:44:32 -0700
changeset 50936 00b16d0457e4
parent 47216 71c04702a3d5
permissions -rw-r--r--
8205653: test/jdk/sun/management/jmxremote/bootstrap/RmiRegistrySslTest.java and RmiSslBootstrapTest.sh fail with handshake_failure Summary: Test failure due to unsupported DSA keys Reviewed-by: dfuchs, xuelei
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
24432
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
     1
/*
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
     2
 * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
     4
 *
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
     7
 * published by the Free Software Foundation.
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
     8
 *
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    13
 * accompanied this code).
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    14
 *
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    18
 *
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    21
 * questions.
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    22
 */
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    23
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    24
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    25
/*
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    26
 * This file contains ten different sub-tests.  Each sub-test consists of a
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    27
 * class with a different case of an invalid duplicate attribute.  The main
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    28
 * test runs each of these tests individually.  If any of them fail then the
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    29
 * whole test fails.
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    30
 */
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    31
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    32
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    33
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    34
/*
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    35
 * This test contains a class with invalid duplicate AnnotationDefault attributes.
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    36
 */
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    37
class AnnotationDefaultDup {
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    38
  0xCAFEBABE;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    39
  0; // minor version
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    40
  52; // version
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    41
  [] { // Constant Pool
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    42
    ; // first element is empty
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    43
    Method #3 #11; // #1
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    44
    class #12; // #2
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    45
    class #13; // #3
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    46
    Utf8 "<init>"; // #4
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    47
    Utf8 "()V"; // #5
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    48
    Utf8 "Code"; // #6
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    49
    Utf8 "Signature"; // #7
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    50
    Utf8 "<T:Ljava/lang/Object;>Ljava/lang/Object;"; // #8
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    51
    Utf8 "AnnotationDefault"; // #9
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    52
    Utf8 "LAnnotationDefaultI;"; // #10
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    53
    NameAndType #4 #5; // #11
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    54
    Utf8 "AnnotationDefaultDup"; // #12
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    55
    Utf8 "java/lang/Object"; // #13
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    56
    Utf8 "run"; // #14
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    57
    Utf8 "([Ljava/lang/String;Ljava/io/PrintStream;)I"; // #15
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    58
    NameAndType #14 #15; // #16
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    59
    class #19; // #17
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    60
    Method #17 #16; // #18
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    61
    Utf8 "AnnotationDefaultDupChecker"; // #19
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    62
  } // Constant Pool
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    63
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    64
  0x0021; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    65
  #2;// this_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    66
  #3;// super_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    67
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    68
  [] { // Interfaces
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    69
  } // Interfaces
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    70
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    71
  [] { // fields
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    72
  } // fields
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    73
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    74
  [] { // methods
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    75
    { // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    76
      0x0001; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    77
      #4; // name_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    78
      #5; // sig_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    79
      [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    80
        Attr(#6) { // Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    81
          1; // max_stack
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    82
          1; // max_locals
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    83
          Bytes[]{
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    84
            0x2AB70001B1;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    85
          };
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    86
          [] { // Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    87
          } // end Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    88
          [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    89
          } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    90
        } // end Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    91
        ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    92
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    93
        Attr(#9) { // AnnotationDefault
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    94
          [] { // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    95
            { // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    96
              0x00;  // target_type
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    97
              0x00;  // type_parameter_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    98
              []b { //  type_path
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
    99
              }
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   100
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   101
              #10; // type_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   102
              [] { // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   103
              } // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   104
            } // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   105
          } // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   106
        } // end AnnotationDefault
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   107
    // wrong:
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   108
        ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   109
        Attr(#9) { // AnnotationDefault
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   110
          [] { // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   111
            { // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   112
              0x00;  // target_type
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   113
              0x00;  // type_parameter_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   114
              []b { //  type_path
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   115
              }
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   116
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   117
              #10; // type_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   118
              [] { // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   119
              } // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   120
            } // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   121
          } // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   122
        } // end AnnotationDefault
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   123
      } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   124
    } // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   125
    ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   126
    { // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   127
      0x0009; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   128
      #14; // name_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   129
      #15; // sig_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   130
      [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   131
        Attr(#6) { // Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   132
          2; // max_stack
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   133
          2; // max_locals
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   134
          Bytes[]{
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   135
            0x2A2BB80012AC;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   136
          };
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   137
          [] { // Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   138
          } // end Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   139
          [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   140
          } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   141
        } // end Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   142
      } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   143
    } // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   144
  } // methods
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   145
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   146
  [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   147
    Attr(#7) { // Signature
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   148
      #8;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   149
    } // end Signature
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   150
    ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   151
    Attr(#9) { // AnnotationDefault
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   152
      [] { // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   153
        { // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   154
          0x00;  // target_type
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   155
          0x00;  // type_parameter_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   156
          []b { //  type_path
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   157
          }
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   158
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   159
          #10; // type_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   160
          [] { // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   161
          } // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   162
        } // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   163
      } // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   164
    } // end AnnotationDefault
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   165
  } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   166
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   167
} // end class
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   168
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   169
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   170
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   171
/*
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   172
 * This test contains a class with invalid duplicate RuntimeInvisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   173
 * attributes.
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   174
 */
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   175
class ClassInvisAnnotsDup {
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   176
  0xCAFEBABE;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   177
  0; // minor version
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   178
  52; // version
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   179
  [] { // Constant Pool
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   180
    ; // first element is empty
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   181
    Method #3 #11; // #1
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   182
    class #12; // #2
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   183
    class #13; // #3
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   184
    Utf8 "<init>"; // #4
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   185
    Utf8 "()V"; // #5
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   186
    Utf8 "Code"; // #6
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   187
    Utf8 "Signature"; // #7
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   188
    Utf8 "<T:Ljava/lang/Object;>Ljava/lang/Object;"; // #8
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   189
    Utf8 "RuntimeInvisibleAnnotations"; // #9
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   190
    Utf8 "LClassInvisAnnotsI;"; // #10
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   191
    NameAndType #4 #5; // #11
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   192
    Utf8 "ClassInvisAnnotsDup"; // #12
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   193
    Utf8 "java/lang/Object"; // #13
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   194
    Utf8 "run"; // #14
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   195
    Utf8 "([Ljava/lang/String;Ljava/io/PrintStream;)I"; // #15
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   196
    NameAndType #14 #15; // #16
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   197
    class #19; // #17
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   198
    Method #17 #16; // #18
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   199
    Utf8 "ClassInvisAnnotsDupChecker"; // #19
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   200
  } // Constant Pool
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   201
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   202
  0x0021; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   203
  #2;// this_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   204
  #3;// super_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   205
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   206
  [] { // Interfaces
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   207
  } // Interfaces
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   208
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   209
  [] { // fields
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   210
  } // fields
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   211
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   212
  [] { // methods
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   213
    { // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   214
      0x0001; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   215
      #4; // name_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   216
      #5; // sig_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   217
      [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   218
        Attr(#6) { // Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   219
          1; // max_stack
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   220
          1; // max_locals
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   221
          Bytes[]{
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   222
            0x2AB70001B1;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   223
          };
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   224
          [] { // Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   225
          } // end Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   226
          [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   227
          } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   228
        } // end Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   229
      } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   230
    } // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   231
    ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   232
    { // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   233
      0x0009; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   234
      #14; // name_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   235
      #15; // sig_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   236
      [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   237
        Attr(#6) { // Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   238
          2; // max_stack
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   239
          2; // max_locals
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   240
          Bytes[]{
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   241
            0x2A2BB80012AC;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   242
          };
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   243
          [] { // Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   244
          } // end Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   245
          [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   246
          } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   247
        } // end Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   248
      } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   249
    } // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   250
  } // methods
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   251
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   252
  [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   253
    Attr(#7) { // Signature
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   254
      #8;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   255
    } // end Signature
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   256
    ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   257
    Attr(#9) { // RuntimeInvisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   258
      [] { // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   259
        { // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   260
          0x00;  // target_type
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   261
          0x00;  // type_parameter_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   262
          []b { //  type_path
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   263
          }
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   264
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   265
          #10; // type_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   266
          [] { // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   267
          } // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   268
        } // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   269
      } // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   270
    } // end RuntimeInvisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   271
// wrong:
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   272
    ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   273
    Attr(#9) { // RuntimeInvisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   274
      [] { // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   275
        { // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   276
          0x00;  // target_type
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   277
          0x00;  // type_parameter_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   278
          []b { //  type_path
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   279
          }
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   280
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   281
          #10; // type_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   282
          [] { // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   283
          } // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   284
        } // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   285
      } // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   286
    } // end RuntimeInvisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   287
// end wrong
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   288
  } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   289
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   290
} // end class
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   291
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   292
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   293
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   294
/*
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   295
 * This test contains a class with invalid duplicate RuntimeVisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   296
 * attributes.
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   297
 */
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   298
class ClassVisAnnotsDup {
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   299
  0xCAFEBABE;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   300
  0; // minor version
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   301
  52; // version
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   302
  [] { // Constant Pool
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   303
    ; // first element is empty
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   304
    Method #3 #11; // #1
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   305
    class #12; // #2
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   306
    class #13; // #3
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   307
    Utf8 "<init>"; // #4
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   308
    Utf8 "()V"; // #5
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   309
    Utf8 "Code"; // #6
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   310
    Utf8 "Signature"; // #7
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   311
    Utf8 "<T:Ljava/lang/Object;>Ljava/lang/Object;"; // #8
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   312
    Utf8 "RuntimeVisibleAnnotations"; // #9
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   313
    Utf8 "LClassVisAnnotsI;"; // #10
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   314
    NameAndType #4 #5; // #11
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   315
    Utf8 "ClassVisAnnotsDup"; // #12
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   316
    Utf8 "java/lang/Object"; // #13
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   317
    Utf8 "run"; // #14
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   318
    Utf8 "([Ljava/lang/String;Ljava/io/PrintStream;)I"; // #15
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   319
    NameAndType #14 #15; // #16
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   320
    class #19; // #17
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   321
    Method #17 #16; // #18
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   322
    Utf8 "ClassVisAnnotsDupChecker"; // #19
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   323
  } // Constant Pool
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   324
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   325
  0x0021; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   326
  #2;// this_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   327
  #3;// super_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   328
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   329
  [] { // Interfaces
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   330
  } // Interfaces
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   331
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   332
  [] { // fields
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   333
  } // fields
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   334
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   335
  [] { // methods
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   336
    { // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   337
      0x0001; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   338
      #4; // name_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   339
      #5; // sig_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   340
      [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   341
        Attr(#6) { // Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   342
          1; // max_stack
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   343
          1; // max_locals
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   344
          Bytes[]{
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   345
            0x2AB70001B1;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   346
          };
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   347
          [] { // Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   348
          } // end Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   349
          [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   350
          } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   351
        } // end Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   352
      } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   353
    } // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   354
    ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   355
    { // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   356
      0x0009; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   357
      #14; // name_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   358
      #15; // sig_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   359
      [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   360
        Attr(#6) { // Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   361
          2; // max_stack
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   362
          2; // max_locals
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   363
          Bytes[]{
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   364
            0x2A2BB80012AC;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   365
          };
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   366
          [] { // Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   367
          } // end Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   368
          [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   369
          } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   370
        } // end Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   371
      } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   372
    } // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   373
  } // methods
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   374
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   375
  [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   376
    Attr(#7) { // Signature
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   377
      #8;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   378
    } // end Signature
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   379
    ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   380
    Attr(#9) { // RuntimeVisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   381
      [] { // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   382
        { // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   383
          0x00;  // target_type
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   384
          0x00;  // type_parameter_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   385
          []b { //  type_path
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   386
          }
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   387
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   388
          #10; // type_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   389
          [] { // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   390
          } // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   391
        } // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   392
      } // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   393
    } // end RuntimeVisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   394
// wrong:
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   395
    ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   396
    Attr(#9) { // RuntimeVisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   397
      [] { // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   398
        { // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   399
          0x00;  // target_type
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   400
          0x00;  // type_parameter_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   401
          []b { //  type_path
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   402
          }
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   403
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   404
          #10; // type_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   405
          [] { // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   406
          } // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   407
        } // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   408
      } // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   409
    } // end RuntimeVisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   410
// end wrong
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   411
  } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   412
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   413
} // end class
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   414
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   415
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   416
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   417
/*
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   418
 * This test contains a field with invalid duplicate RuntimeInvisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   419
 * attributes.
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   420
 */
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   421
class FieldInvisAnnotsDup {
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   422
  0xCAFEBABE;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   423
  0; // minor version
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   424
  52; // version
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   425
  [] { // Constant Pool
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   426
    ; // first element is empty
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   427
    Method #4 #16; // #1
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   428
    Method #17 #18; // #2
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   429
    class #19; // #3
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   430
    class #20; // #4
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   431
    Utf8 "fld"; // #5
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   432
    Utf8 "Ljava/util/ArrayList;"; // #6
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   433
    Utf8 "Signature"; // #7
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   434
    Utf8 "Ljava/util/ArrayList<Ljava/lang/Object;>;"; // #8
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   435
    Utf8 "RuntimeInvisibleAnnotations"; // #9
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   436
    Utf8 "LFieldInvisAnnotsI;"; // #10
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   437
    Utf8 "<init>"; // #11
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   438
    Utf8 "()V"; // #12
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   439
    Utf8 "Code"; // #13
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   440
    Utf8 "run"; // #14
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   441
    Utf8 "([Ljava/lang/String;Ljava/io/PrintStream;)I"; // #15
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   442
    NameAndType #11 #12; // #16
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   443
    class #21; // #17
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   444
    NameAndType #14 #15; // #18
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   445
    Utf8 "FieldInvisAnnotsDup"; // #19
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   446
    Utf8 "java/lang/Object"; // #20
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   447
    Utf8 "FieldInvisAnnotsDupChecker"; // #21
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   448
  } // Constant Pool
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   449
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   450
  0x0021; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   451
  #3;// this_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   452
  #4;// super_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   453
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   454
  [] { // Interfaces
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   455
  } // Interfaces
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   456
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   457
  [] { // fields
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   458
    { // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   459
      0x0001; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   460
      #5; // name_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   461
      #6; // sig_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   462
      [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   463
        Attr(#7) { // Signature
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   464
          #8;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   465
        } // end Signature
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   466
        ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   467
        Attr(#9) { // RuntimeInvisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   468
          [] { // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   469
            { // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   470
              0x00;  // target_type
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   471
              0x00;  // type_parameter_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   472
              []b { //  type_path
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   473
              }
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   474
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   475
              #10; // type_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   476
              [] { // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   477
              } // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   478
            } // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   479
          } // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   480
        } // end RuntimeInvisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   481
    // wrong:
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   482
        ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   483
        Attr(#9) { // RuntimeInvisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   484
          [] { // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   485
            { // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   486
              0x00;  // target_type
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   487
              0x00;  // type_parameter_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   488
              []b { //  type_path
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   489
              }
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   490
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   491
              #10; // type_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   492
              [] { // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   493
              } // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   494
            } // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   495
          } // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   496
        } // end RuntimeInvisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   497
    // end wrong
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   498
      } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   499
    } // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   500
  } // fields
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   501
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   502
  [] { // methods
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   503
    { // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   504
      0x0001; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   505
      #11; // name_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   506
      #12; // sig_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   507
      [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   508
        Attr(#13) { // Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   509
          1; // max_stack
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   510
          1; // max_locals
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   511
          Bytes[]{
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   512
            0x2AB70001B1;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   513
          };
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   514
          [] { // Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   515
          } // end Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   516
          [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   517
          } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   518
        } // end Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   519
      } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   520
    } // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   521
    ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   522
    { // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   523
      0x0009; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   524
      #14; // name_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   525
      #15; // sig_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   526
      [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   527
        Attr(#13) { // Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   528
          2; // max_stack
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   529
          2; // max_locals
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   530
          Bytes[]{
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   531
            0x2A2BB80002AC;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   532
          };
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   533
          [] { // Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   534
          } // end Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   535
          [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   536
          } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   537
        } // end Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   538
      } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   539
    } // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   540
  } // methods
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   541
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   542
  [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   543
  } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   544
} // end class
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   545
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   546
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   547
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   548
/*
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   549
 * This test contains a field with invalid duplicate RuntimeVisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   550
 * attributes.
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   551
 */
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   552
class FieldVisAnnotsDup {
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   553
  0xCAFEBABE;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   554
  0; // minor version
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   555
  52; // version
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   556
  [] { // Constant Pool
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   557
    ; // first element is empty
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   558
    Method #4 #16; // #1
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   559
    Method #17 #18; // #2
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   560
    class #19; // #3
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   561
    class #20; // #4
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   562
    Utf8 "fld"; // #5
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   563
    Utf8 "Ljava/util/ArrayList;"; // #6
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   564
    Utf8 "Signature"; // #7
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   565
    Utf8 "Ljava/util/ArrayList<Ljava/lang/Object;>;"; // #8
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   566
    Utf8 "RuntimeVisibleAnnotations"; // #9
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   567
    Utf8 "LFieldVisAnnotsI;"; // #10
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   568
    Utf8 "<init>"; // #11
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   569
    Utf8 "()V"; // #12
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   570
    Utf8 "Code"; // #13
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   571
    Utf8 "run"; // #14
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   572
    Utf8 "([Ljava/lang/String;Ljava/io/PrintStream;)I"; // #15
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   573
    NameAndType #11 #12; // #16
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   574
    class #21; // #17
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   575
    NameAndType #14 #15; // #18
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   576
    Utf8 "FieldVisAnnotsDup"; // #19
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   577
    Utf8 "java/lang/Object"; // #20
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   578
    Utf8 "FieldVisAnnotsDupChecker"; // #21
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   579
  } // Constant Pool
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   580
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   581
  0x0021; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   582
  #3;// this_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   583
  #4;// super_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   584
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   585
  [] { // Interfaces
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   586
  } // Interfaces
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   587
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   588
  [] { // fields
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   589
    { // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   590
      0x0001; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   591
      #5; // name_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   592
      #6; // sig_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   593
      [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   594
        Attr(#7) { // Signature
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   595
          #8;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   596
        } // end Signature
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   597
        ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   598
        Attr(#9) { // RuntimeVisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   599
          [] { // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   600
            { // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   601
              0x00;  // target_type
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   602
              0x00;  // type_parameter_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   603
              []b { //  type_path
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   604
              }
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   605
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   606
              #10; // type_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   607
              [] { // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   608
              } // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   609
            } // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   610
          } // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   611
        } // end RuntimeVisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   612
    // wrong:
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   613
        ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   614
        Attr(#9) { // RuntimeVisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   615
          [] { // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   616
            { // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   617
              0x00;  // target_type
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   618
              0x00;  // type_parameter_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   619
              []b { //  type_path
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   620
              }
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   621
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   622
              #10; // type_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   623
              [] { // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   624
              } // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   625
            } // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   626
          } // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   627
        } // end RuntimeVisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   628
    // end wrong
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   629
      } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   630
    } // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   631
  } // fields
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   632
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   633
  [] { // methods
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   634
    { // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   635
      0x0001; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   636
      #11; // name_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   637
      #12; // sig_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   638
      [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   639
        Attr(#13) { // Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   640
          1; // max_stack
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   641
          1; // max_locals
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   642
          Bytes[]{
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   643
            0x2AB70001B1;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   644
          };
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   645
          [] { // Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   646
          } // end Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   647
          [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   648
          } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   649
        } // end Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   650
      } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   651
    } // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   652
    ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   653
    { // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   654
      0x0009; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   655
      #14; // name_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   656
      #15; // sig_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   657
      [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   658
        Attr(#13) { // Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   659
          2; // max_stack
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   660
          2; // max_locals
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   661
          Bytes[]{
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   662
            0x2A2BB80002AC;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   663
          };
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   664
          [] { // Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   665
          } // end Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   666
          [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   667
          } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   668
        } // end Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   669
      } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   670
    } // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   671
  } // methods
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   672
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   673
  [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   674
  } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   675
} // end class
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   676
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   677
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   678
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   679
/*
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   680
 * This test contains a method with invalid duplicate RuntimeInvisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   681
 * attributes.
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   682
 */
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   683
class MethInvisAnnotsDup {
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   684
  0xCAFEBABE;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   685
  0; // minor version
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   686
  52; // version
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   687
  [] { // Constant Pool
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   688
    ; // first element is empty
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   689
    Method #3 #11; // #1
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   690
    class #12; // #2
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   691
    class #13; // #3
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   692
    Utf8 "<init>"; // #4
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   693
    Utf8 "()V"; // #5
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   694
    Utf8 "Code"; // #6
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   695
    Utf8 "Signature"; // #7
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   696
    Utf8 "<T:Ljava/lang/Object;>Ljava/lang/Object;"; // #8
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   697
    Utf8 "RuntimeInvisibleAnnotations"; // #9
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   698
    Utf8 "LMethInvisAnnotsI;"; // #10
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   699
    NameAndType #4 #5; // #11
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   700
    Utf8 "MethInvisAnnotsDup"; // #12
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   701
    Utf8 "java/lang/Object"; // #13
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   702
    Utf8 "run"; // #14
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   703
    Utf8 "([Ljava/lang/String;Ljava/io/PrintStream;)I"; // #15
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   704
    NameAndType #14 #15; // #16
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   705
    class #19; // #17
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   706
    Method #17 #16; // #18
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   707
    Utf8 "MethInvisAnnotsDupChecker"; // #19
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   708
  } // Constant Pool
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   709
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   710
  0x0021; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   711
  #2;// this_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   712
  #3;// super_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   713
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   714
  [] { // Interfaces
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   715
  } // Interfaces
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   716
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   717
  [] { // fields
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   718
  } // fields
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   719
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   720
  [] { // methods
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   721
    { // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   722
      0x0001; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   723
      #4; // name_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   724
      #5; // sig_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   725
      [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   726
        Attr(#6) { // Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   727
          1; // max_stack
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   728
          1; // max_locals
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   729
          Bytes[]{
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   730
            0x2AB70001B1;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   731
          };
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   732
          [] { // Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   733
          } // end Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   734
          [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   735
          } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   736
        } // end Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   737
        ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   738
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   739
        Attr(#9) { // RuntimeInvisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   740
          [] { // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   741
            { // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   742
              0x00;  // target_type
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   743
              0x00;  // type_parameter_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   744
              []b { //  type_path
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   745
              }
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   746
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   747
              #10; // type_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   748
              [] { // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   749
              } // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   750
            } // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   751
          } // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   752
        } // end RuntimeInvisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   753
    // wrong:
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   754
        ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   755
        Attr(#9) { // RuntimeInvisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   756
          [] { // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   757
            { // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   758
              0x00;  // target_type
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   759
              0x00;  // type_parameter_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   760
              []b { //  type_path
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   761
              }
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   762
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   763
              #10; // type_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   764
              [] { // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   765
              } // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   766
            } // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   767
          } // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   768
        } // end RuntimeInvisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   769
      } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   770
    } // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   771
    ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   772
    { // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   773
      0x0009; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   774
      #14; // name_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   775
      #15; // sig_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   776
      [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   777
        Attr(#6) { // Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   778
          2; // max_stack
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   779
          2; // max_locals
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   780
          Bytes[]{
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   781
            0x2A2BB80012AC;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   782
          };
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   783
          [] { // Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   784
          } // end Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   785
          [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   786
          } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   787
        } // end Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   788
      } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   789
    } // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   790
  } // methods
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   791
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   792
  [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   793
    Attr(#7) { // Signature
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   794
      #8;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   795
    } // end Signature
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   796
    ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   797
    Attr(#9) { // RuntimeInvisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   798
      [] { // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   799
        { // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   800
          0x00;  // target_type
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   801
          0x00;  // type_parameter_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   802
          []b { //  type_path
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   803
          }
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   804
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   805
          #10; // type_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   806
          [] { // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   807
          } // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   808
        } // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   809
      } // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   810
    } // end RuntimeInvisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   811
  } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   812
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   813
} // end class
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   814
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   815
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   816
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   817
/*
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   818
 * This test contains a method with invalid duplicate
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   819
 * RuntimeInvisibleParameterAnnotations attributes.
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   820
 */
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   821
class MethInvisParamAnnotsDup {
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   822
  0xCAFEBABE;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   823
  0; // minor version
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   824
  52; // version
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   825
  [] { // Constant Pool
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   826
    ; // first element is empty
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   827
    Method #4 #16; // #1
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   828
    Method #17 #18; // #2
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   829
    class #19; // #3
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   830
    class #20; // #4
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   831
    Utf8 "<init>"; // #5
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   832
    Utf8 "()V"; // #6
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   833
    Utf8 "Code"; // #7
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   834
    Utf8 "m"; // #8
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   835
    Utf8 "()I"; // #9
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   836
    Utf8 "Signature"; // #10
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   837
    Utf8 "<T:Ljava/lang/Object;>()I"; // #11
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   838
    Utf8 "RuntimeInvisibleParameterAnnotations"; // #12
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   839
    Utf8 "LMethInvisParamAnnotsI;"; // #13
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   840
    Utf8 "run"; // #14
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   841
    Utf8 "([Ljava/lang/String;Ljava/io/PrintStream;)I"; // #15
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   842
    NameAndType #5 #6; // #16
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   843
    class #21; // #17
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   844
    NameAndType #14 #15; // #18
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   845
    Utf8 "MethInvisParamAnnotsDup"; // #19
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   846
    Utf8 "java/lang/Object"; // #20
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   847
    Utf8 "MethInvisParamAnnotsDupChecker"; // #21
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   848
  } // Constant Pool
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   849
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   850
  0x0021; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   851
  #3;// this_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   852
  #4;// super_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   853
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   854
  [] { // Interfaces
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   855
  } // Interfaces
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   856
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   857
  [] { // fields
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   858
  } // fields
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   859
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   860
  [] { // methods
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   861
    { // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   862
      0x0001; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   863
      #5; // name_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   864
      #6; // sig_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   865
      [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   866
        Attr(#7) { // Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   867
          1; // max_stack
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   868
          1; // max_locals
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   869
          Bytes[]{
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   870
            0x2AB70001B1;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   871
          };
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   872
          [] { // Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   873
          } // end Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   874
          [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   875
          } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   876
        } // end Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   877
      } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   878
    } // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   879
    ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   880
    { // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   881
      0x0001; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   882
      #8; // name_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   883
      #9; // sig_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   884
      [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   885
        Attr(#7) { // Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   886
          1; // max_stack
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   887
          1; // max_locals
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   888
          Bytes[]{
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   889
            0x03AC;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   890
          };
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   891
          [] { // Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   892
          } // end Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   893
          [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   894
          } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   895
        } // end Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   896
        ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   897
        Attr(#10) { // Signature
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   898
          #11;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   899
        } // end Signature
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   900
        ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   901
        Attr(#12) { // RuntimeInvisibleParameterAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   902
          0x0001010000000D00;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   903
          0x00;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   904
        } // end RuntimeInvisibleParameterAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   905
// wrong:
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   906
        ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   907
        Attr(#12) { // RuntimeInvisibleParameterAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   908
          0x0001010000000D00;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   909
          0x00;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   910
        } // end RuntimeInvisibleParameterAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   911
// end wrong
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   912
      } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   913
    } // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   914
    ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   915
    { // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   916
      0x0009; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   917
      #14; // name_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   918
      #15; // sig_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   919
      [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   920
        Attr(#7) { // Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   921
          2; // max_stack
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   922
          2; // max_locals
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   923
          Bytes[]{
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   924
            0x2A2BB80002AC;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   925
          };
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   926
          [] { // Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   927
          } // end Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   928
          [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   929
          } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   930
        } // end Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   931
      } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   932
    } // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   933
  } // methods
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   934
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   935
  [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   936
  } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   937
} // end class
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   938
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   939
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   940
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   941
/*
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   942
 * This test contains a method with invalid duplicate RuntimeVisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   943
 * attributes.
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   944
 */
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   945
class MethVisAnnotsDup {
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   946
  0xCAFEBABE;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   947
  0; // minor version
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   948
  52; // version
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   949
  [] { // Constant Pool
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   950
    ; // first element is empty
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   951
    Method #3 #11; // #1
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   952
    class #12; // #2
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   953
    class #13; // #3
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   954
    Utf8 "<init>"; // #4
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   955
    Utf8 "()V"; // #5
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   956
    Utf8 "Code"; // #6
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   957
    Utf8 "Signature"; // #7
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   958
    Utf8 "<T:Ljava/lang/Object;>Ljava/lang/Object;"; // #8
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   959
    Utf8 "RuntimeVisibleAnnotations"; // #9
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   960
    Utf8 "LMethodVisAnnotsDupI;"; // #10
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   961
    NameAndType #4 #5; // #11
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   962
    Utf8 "MethVisAnnotsDup"; // #12
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   963
    Utf8 "java/lang/Object"; // #13
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   964
    Utf8 "run"; // #14
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   965
    Utf8 "([Ljava/lang/String;Ljava/io/PrintStream;)I"; // #15
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   966
    NameAndType #14 #15; // #16
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   967
    class #19; // #17
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   968
    Method #17 #16; // #18
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   969
    Utf8 "MethVisAnnotsDupChecker"; // #19
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   970
  } // Constant Pool
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   971
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   972
  0x0021; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   973
  #2;// this_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   974
  #3;// super_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   975
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   976
  [] { // Interfaces
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   977
  } // Interfaces
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   978
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   979
  [] { // fields
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   980
  } // fields
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   981
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   982
  [] { // methods
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   983
    { // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   984
      0x0001; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   985
      #4; // name_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   986
      #5; // sig_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   987
      [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   988
        Attr(#6) { // Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   989
          1; // max_stack
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   990
          1; // max_locals
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   991
          Bytes[]{
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   992
            0x2AB70001B1;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   993
          };
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   994
          [] { // Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   995
          } // end Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   996
          [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   997
          } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   998
        } // end Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
   999
        ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1000
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1001
        Attr(#9) { // RuntimeVisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1002
          [] { // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1003
            { // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1004
              0x00;  // target_type
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1005
              0x00;  // type_parameter_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1006
              []b { //  type_path
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1007
              }
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1008
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1009
              #10; // type_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1010
              [] { // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1011
              } // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1012
            } // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1013
          } // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1014
        } // end RuntimeVisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1015
    // wrong:
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1016
        ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1017
        Attr(#9) { // RuntimeVisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1018
          [] { // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1019
            { // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1020
              0x00;  // target_type
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1021
              0x00;  // type_parameter_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1022
              []b { //  type_path
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1023
              }
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1024
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1025
              #10; // type_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1026
              [] { // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1027
              } // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1028
            } // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1029
          } // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1030
        } // end RuntimeVisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1031
      } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1032
    } // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1033
    ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1034
    { // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1035
      0x0009; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1036
      #14; // name_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1037
      #15; // sig_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1038
      [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1039
        Attr(#6) { // Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1040
          2; // max_stack
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1041
          2; // max_locals
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1042
          Bytes[]{
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1043
            0x2A2BB80012AC;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1044
          };
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1045
          [] { // Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1046
          } // end Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1047
          [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1048
          } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1049
        } // end Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1050
      } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1051
    } // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1052
  } // methods
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1053
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1054
  [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1055
    Attr(#7) { // Signature
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1056
      #8;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1057
    } // end Signature
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1058
    ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1059
    Attr(#9) { // RuntimeVisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1060
      [] { // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1061
        { // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1062
          0x00;  // target_type
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1063
          0x00;  // type_parameter_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1064
          []b { //  type_path
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1065
          }
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1066
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1067
          #10; // type_index
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1068
          [] { // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1069
          } // element_value_pairs
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1070
        } // type annotation
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1071
      } // type annotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1072
    } // end RuntimeVisibleAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1073
  } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1074
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1075
} // end class
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1076
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1077
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1078
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1079
/*
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1080
 * This test contains a method with invalid duplicate
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1081
 * RuntimeVisibleParameterAnnotations attributes.
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1082
 */
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1083
class MethVisParamAnnotsDup {
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1084
  0xCAFEBABE;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1085
  0; // minor version
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1086
  52; // version
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1087
  [] { // Constant Pool
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1088
    ; // first element is empty
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1089
    Method #4 #16; // #1
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1090
    Method #17 #18; // #2
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1091
    class #19; // #3
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1092
    class #20; // #4
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1093
    Utf8 "<init>"; // #5
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1094
    Utf8 "()V"; // #6
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1095
    Utf8 "Code"; // #7
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1096
    Utf8 "m"; // #8
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1097
    Utf8 "()I"; // #9
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1098
    Utf8 "Signature"; // #10
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1099
    Utf8 "<T:Ljava/lang/Object;>()I"; // #11
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1100
    Utf8 "RuntimeVisibleParameterAnnotations"; // #12
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1101
    Utf8 "LMethVisParamAnnotsI;"; // #13
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1102
    Utf8 "run"; // #14
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1103
    Utf8 "([Ljava/lang/String;Ljava/io/PrintStream;)I"; // #15
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1104
    NameAndType #5 #6; // #16
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1105
    class #21; // #17
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1106
    NameAndType #14 #15; // #18
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1107
    Utf8 "MethVisParamAnnotsDup"; // #19
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1108
    Utf8 "java/lang/Object"; // #20
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1109
    Utf8 "MethVisParamAnnotsDupChecker"; // #21
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1110
  } // Constant Pool
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1111
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1112
  0x0021; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1113
  #3;// this_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1114
  #4;// super_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1115
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1116
  [] { // Interfaces
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1117
  } // Interfaces
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1118
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1119
  [] { // fields
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1120
  } // fields
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1121
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1122
  [] { // methods
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1123
    { // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1124
      0x0001; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1125
      #5; // name_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1126
      #6; // sig_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1127
      [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1128
        Attr(#7) { // Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1129
          1; // max_stack
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1130
          1; // max_locals
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1131
          Bytes[]{
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1132
            0x2AB70001B1;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1133
          };
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1134
          [] { // Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1135
          } // end Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1136
          [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1137
          } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1138
        } // end Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1139
      } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1140
    } // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1141
    ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1142
    { // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1143
      0x0001; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1144
      #8; // name_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1145
      #9; // sig_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1146
      [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1147
        Attr(#7) { // Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1148
          1; // max_stack
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1149
          1; // max_locals
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1150
          Bytes[]{
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1151
            0x03AC;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1152
          };
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1153
          [] { // Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1154
          } // end Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1155
          [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1156
          } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1157
        } // end Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1158
        ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1159
        Attr(#10) { // Signature
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1160
          #11;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1161
        } // end Signature
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1162
        ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1163
        Attr(#12) { // RuntimeVisibleParameterAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1164
          0x0001010000000D00;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1165
          0x00;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1166
        } // end RuntimeVisibleParameterAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1167
// wrong:
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1168
        ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1169
        Attr(#12) { // RuntimeVisibleParameterAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1170
          0x0001010000000D00;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1171
          0x00;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1172
        } // end RuntimeVisibleParameterAnnotations
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1173
// end wrong
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1174
      } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1175
    } // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1176
    ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1177
    { // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1178
      0x0009; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1179
      #14; // name_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1180
      #15; // sig_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1181
      [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1182
        Attr(#7) { // Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1183
          2; // max_stack
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1184
          2; // max_locals
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1185
          Bytes[]{
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1186
            0x2A2BB80002AC;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1187
          };
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1188
          [] { // Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1189
          } // end Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1190
          [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1191
          } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1192
        } // end Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1193
      } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1194
    } // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1195
  } // methods
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1196
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1197
  [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1198
  } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1199
} // end class
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1200
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1201
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1202
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1203
/*
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1204
 * This test contains a method with invalid duplicate SourceDebugExtension
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1205
 * attributes.
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1206
 */
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1207
class SrcDbgExtDup {
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1208
  0xCAFEBABE;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1209
  0; // minor version
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1210
  52; // version
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1211
  [] { // Constant Pool
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1212
    ; // first element is empty
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1213
    Method #3 #11; // #1
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1214
    class #12; // #2
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1215
    class #13; // #3
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1216
    Utf8 "<init>"; // #4
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1217
    Utf8 "()V"; // #5
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1218
    Utf8 "Code"; // #6
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1219
    Utf8 "Signature"; // #7
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1220
    Utf8 "<T:Ljava/lang/Object;>Ljava/lang/Object;"; // #8
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1221
    Utf8 "SourceDebugExtension"; // #9
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1222
    Utf8 "LSrcDbgExtDupI;"; // #10
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1223
    NameAndType #4 #5; // #11
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1224
    Utf8 "SrcDbgExtDup"; // #12
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1225
    Utf8 "java/lang/Object"; // #13
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1226
    Utf8 "run"; // #14
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1227
    Utf8 "([Ljava/lang/String;Ljava/io/PrintStream;)I"; // #15
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1228
    NameAndType #14 #15; // #16
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1229
    class #19; // #17
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1230
    Method #17 #16; // #18
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1231
    Utf8 "SrcDbgExt_dupChecker"; // #19
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1232
  } // Constant Pool
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1233
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1234
  0x0021; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1235
  #2;// this_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1236
  #3;// super_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1237
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1238
  [] { // Interfaces
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1239
  } // Interfaces
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1240
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1241
  [] { // fields
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1242
  } // fields
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1243
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1244
  [] { // methods
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1245
    { // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1246
      0x0001; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1247
      #4; // name_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1248
      #5; // sig_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1249
      [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1250
        Attr(#6) { // Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1251
          1; // max_stack
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1252
          1; // max_locals
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1253
          Bytes[]{
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1254
            0x2AB70001B1;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1255
          };
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1256
          [] { // Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1257
          } // end Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1258
          [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1259
          } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1260
        } // end Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1261
      } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1262
    } // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1263
    ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1264
    { // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1265
      0x0009; // access
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1266
      #14; // name_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1267
      #15; // sig_cpx
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1268
      [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1269
        Attr(#6) { // Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1270
          2; // max_stack
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1271
          2; // max_locals
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1272
          Bytes[]{
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1273
            0x2A2BB80012AC;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1274
          };
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1275
          [] { // Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1276
          } // end Traps
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1277
          [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1278
          } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1279
        } // end Code
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1280
      } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1281
    } // Member
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1282
  } // methods
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1283
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1284
  [] { // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1285
    Attr(#7) { // Signature
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1286
      #8;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1287
    } // end Signature
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1288
    ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1289
    Attr(#9) { // SourceDebugExtension
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1290
      [] { // debug_extensions
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1291
        { // type debug_extension
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1292
          []b { //  type_path
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1293
          }
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1294
        } // type debug_extension
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1295
      } // type debug_extensions
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1296
    } // end SourceDebugExtension
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1297
// wrong:
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1298
    ;
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1299
    Attr(#9) { // SourceDebugExtension
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1300
      [] { // debug_extensions
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1301
        { // type debug_extension
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1302
          []b { //  type_path
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1303
          }
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1304
        } // type debug_extension
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1305
      } // type debug_extensions
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1306
    } // end SourceDebugExtension
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1307
// end wrong
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1308
  } // Attributes
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1309
482afb00f089 8040292: Annotation attributes must not appear more than once
hseigel
parents:
diff changeset
  1310
} // end class