langtools/test/tools/javac/classfiles/attributes/Signature/FieldTest.java
author mchung
Wed, 27 May 2015 13:25:18 -0700
changeset 30846 2b3f379840f0
parent 30730 d3ce7619db2c
child 35359 f04501964016
permissions -rw-r--r--
8074432: Move jdeps and javap to jdk.jdeps module Reviewed-by: jjg, alanb, erikj
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
29637
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
     1
/*
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
     2
 * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
     4
 *
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
     7
 * published by the Free Software Foundation.
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
     8
 *
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    13
 * accompanied this code).
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    14
 *
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    18
 *
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    21
 * questions.
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    22
 */
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    23
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    24
/*
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    25
 * @test
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    26
 * @bug 8049238
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    27
 * @summary Checks Signature attribute for fields.
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    28
 * @library /tools/lib /tools/javac/lib ../lib
30846
2b3f379840f0 8074432: Move jdeps and javap to jdk.jdeps module
mchung
parents: 30730
diff changeset
    29
 * @modules jdk.jdeps/com.sun.tools.classfile
30730
d3ce7619db2c 8076543: Add @modules as needed to the langtools tests
akulyakh
parents: 29637
diff changeset
    30
 *          jdk.compiler/com.sun.tools.javac.api
d3ce7619db2c 8076543: Add @modules as needed to the langtools tests
akulyakh
parents: 29637
diff changeset
    31
 *          jdk.compiler/com.sun.tools.javac.file
d3ce7619db2c 8076543: Add @modules as needed to the langtools tests
akulyakh
parents: 29637
diff changeset
    32
 *          jdk.compiler/com.sun.tools.javac.main
29637
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    33
 * @build TestBase TestResult InMemoryFileManager ToolBox
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    34
 * @build FieldTest Driver ExpectedSignature ExpectedSignatureContainer
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    35
 * @run main Driver FieldTest
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    36
 */
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    37
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    38
import java.util.Comparator;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    39
import java.util.List;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    40
import java.util.Map;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    41
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    42
@ExpectedSignature(descriptor = "FieldTest", signature = "<T:Ljava/lang/Object;>Ljava/lang/Object;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    43
public class FieldTest<T> {
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    44
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    45
    @ExpectedSignature(descriptor = "typeInList", signature = "Ljava/util/List<TT;>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    46
    List<T> typeInList;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    47
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    48
    @ExpectedSignature(descriptor = "boundsType", signature = "Ljava/util/List<Ljava/util/Map<+TT;-TT;>;>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    49
    List<Map<? extends T, ? super T>> boundsType;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    50
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    51
    @ExpectedSignature(descriptor = "type", signature = "TT;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    52
    T type;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    53
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    54
    @ExpectedSignature(descriptor = "typeInArray", signature = "[TT;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    55
    T[] typeInArray;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    56
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    57
    @ExpectedSignature(descriptor = "byteArrayInList", signature = "Ljava/util/List<[B>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    58
    List<byte[]> byteArrayInList;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    59
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    60
    @ExpectedSignature(descriptor = "shortArrayInList", signature = "Ljava/util/List<[S>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    61
    List<short[]> shortArrayInList;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    62
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    63
    @ExpectedSignature(descriptor = "intArrayInList", signature = "Ljava/util/List<[I>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    64
    List<int[]> intArrayInList;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    65
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    66
    @ExpectedSignature(descriptor = "longArrayInList", signature = "Ljava/util/List<[J>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    67
    List<long[]> longArrayInList;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    68
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    69
    @ExpectedSignature(descriptor = "charArrayInList", signature = "Ljava/util/List<[C>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    70
    List<char[]> charArrayInList;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    71
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    72
    @ExpectedSignature(descriptor = "booleanArrayInList", signature = "Ljava/util/List<[Z>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    73
    List<boolean[]> booleanArrayInList;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    74
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    75
    @ExpectedSignature(descriptor = "floatArrayInList", signature = "Ljava/util/List<[F>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    76
    List<float[]> floatArrayInList;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    77
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    78
    @ExpectedSignature(descriptor = "doubleArrayInList", signature = "Ljava/util/List<[D>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    79
    List<double[]> doubleArrayInList;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    80
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    81
    @ExpectedSignature(descriptor = "integerInList", signature = "Ljava/util/List<Ljava/lang/Integer;>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    82
    List<Integer> integerInList;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    83
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    84
    @ExpectedSignature(descriptor = "typeInMultiArray", signature = "[[TT;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    85
    T[][] typeInMultiArray;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    86
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    87
    @ExpectedSignature(descriptor = "arrayOfClasses", signature = "[Ljava/util/List<TT;>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    88
    List<T>[] arrayOfClasses;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    89
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    90
    @ExpectedSignature(descriptor = "extendsWildCard", signature = "Ljava/util/List<+TT;>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    91
    List<? extends T> extendsWildCard;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    92
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    93
    @ExpectedSignature(descriptor = "superWildCard", signature = "Ljava/util/Comparator<-TT;>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    94
    Comparator<? super T> superWildCard;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    95
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    96
    @ExpectedSignature(descriptor = "extendsSuperWildCard",
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    97
            signature = "Ljava/util/List<+Ljava/util/Comparator<-TT;>;>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    98
    List<? extends Comparator<? super T>> extendsSuperWildCard;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
    99
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   100
    @ExpectedSignature(descriptor = "wildCard", signature = "Ljava/util/Comparator<*>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   101
    Comparator<?> wildCard;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   102
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   103
    @ExpectedSignature(descriptor = "boundsBooleanArray", signature = "Ljava/util/Map<+[Z-[Z>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   104
    Map<? extends boolean[], ? super boolean[]> boundsBooleanArray;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   105
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   106
    @ExpectedSignature(descriptor = "boundsByteArray", signature = "Ljava/util/Map<+[B-[B>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   107
    Map<? extends byte[], ? super byte[]> boundsByteArray;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   108
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   109
    @ExpectedSignature(descriptor = "boundsShortArray", signature = "Ljava/util/Map<+[S-[S>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   110
    Map<? extends short[], ? super short[]> boundsShortArray;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   111
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   112
    @ExpectedSignature(descriptor = "boundsIntArray", signature = "Ljava/util/Map<+[I-[I>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   113
    Map<? extends int[], ? super int[]> boundsIntArray;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   114
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   115
    @ExpectedSignature(descriptor = "boundsLongArray", signature = "Ljava/util/Map<+[J-[J>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   116
    Map<? extends long[], ? super long[]> boundsLongArray;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   117
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   118
    @ExpectedSignature(descriptor = "boundsCharArray", signature = "Ljava/util/Map<+[C-[C>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   119
    Map<? extends char[], ? super char[]> boundsCharArray;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   120
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   121
    @ExpectedSignature(descriptor = "boundsFloatArray", signature = "Ljava/util/Map<+[F-[F>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   122
    Map<? extends float[], ? super float[]> boundsFloatArray;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   123
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   124
    @ExpectedSignature(descriptor = "boundsDoubleArray", signature = "Ljava/util/Map<+[D-[D>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   125
    Map<? extends double[], ? super double[]> boundsDoubleArray;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   126
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   127
    @ExpectedSignature(descriptor = "boundsObjectArray",
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   128
            signature = "Ljava/util/Map<+[Ljava/lang/Object;-[Ljava/lang/Object;>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   129
    Map<? extends Object[], ? super Object[]> boundsObjectArray;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   130
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   131
    boolean booleanNoSignatureAttribute;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   132
    byte byteNoSignatureAttribute;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   133
    char charNoSignatureAttribute;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   134
    short shortNoSignatureAttribute;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   135
    int intNoSignatureAttribute;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   136
    long longNoSignatureAttribute;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   137
    float floatNoSignatureAttribute;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   138
    double doubleNoSignatureAttribute;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   139
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   140
    List listNoSignatureAttribute;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   141
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   142
    @ExpectedSignature(descriptor = "staticByteArrayInList", signature = "Ljava/util/List<[B>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   143
    static List<byte[]> staticByteArrayInList;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   144
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   145
    @ExpectedSignature(descriptor = "staticShortArrayInList", signature = "Ljava/util/List<[S>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   146
    static List<short[]> staticShortArrayInList;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   147
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   148
    @ExpectedSignature(descriptor = "staticIntArrayInList", signature = "Ljava/util/List<[I>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   149
    static List<int[]> staticIntArrayInList;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   150
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   151
    @ExpectedSignature(descriptor = "staticLongArrayInList", signature = "Ljava/util/List<[J>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   152
    static List<long[]> staticLongArrayInList;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   153
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   154
    @ExpectedSignature(descriptor = "staticCharArrayInList", signature = "Ljava/util/List<[C>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   155
    static List<char[]> staticCharArrayInList;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   156
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   157
    @ExpectedSignature(descriptor = "staticBooleanArrayInList", signature = "Ljava/util/List<[Z>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   158
    static List<boolean[]> staticBooleanArrayInList;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   159
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   160
    @ExpectedSignature(descriptor = "staticFloatArrayInList", signature = "Ljava/util/List<[F>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   161
    static List<float[]> staticFloatArrayInList;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   162
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   163
    @ExpectedSignature(descriptor = "staticDoubleArrayInList", signature = "Ljava/util/List<[D>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   164
    static List<double[]> staticDoubleArrayInList;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   165
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   166
    @ExpectedSignature(descriptor = "staticIntegerInList", signature = "Ljava/util/List<Ljava/lang/Integer;>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   167
    static List<Integer> staticIntegerInList;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   168
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   169
    @ExpectedSignature(descriptor = "staticWildCard", signature = "Ljava/util/Comparator<*>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   170
    static Comparator<?> staticWildCard;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   171
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   172
    @ExpectedSignature(descriptor = "staticBoundsBooleanArray", signature = "Ljava/util/Map<+[Z-[Z>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   173
    static Map<? extends boolean[], ? super boolean[]> staticBoundsBooleanArray;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   174
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   175
    @ExpectedSignature(descriptor = "staticBoundsByteArray", signature = "Ljava/util/Map<+[B-[B>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   176
    static Map<? extends byte[], ? super byte[]> staticBoundsByteArray;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   177
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   178
    @ExpectedSignature(descriptor = "staticBoundsShortArray", signature = "Ljava/util/Map<+[S-[S>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   179
    static Map<? extends short[], ? super short[]> staticBoundsShortArray;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   180
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   181
    @ExpectedSignature(descriptor = "staticBoundsIntArray", signature = "Ljava/util/Map<+[I-[I>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   182
    static Map<? extends int[], ? super int[]> staticBoundsIntArray;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   183
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   184
    @ExpectedSignature(descriptor = "staticBoundsLongArray", signature = "Ljava/util/Map<+[J-[J>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   185
    static Map<? extends long[], ? super long[]> staticBoundsLongArray;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   186
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   187
    @ExpectedSignature(descriptor = "staticBoundsCharArray", signature = "Ljava/util/Map<+[C-[C>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   188
    static Map<? extends char[], ? super char[]> staticBoundsCharArray;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   189
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   190
    @ExpectedSignature(descriptor = "staticBoundsFloatArray", signature = "Ljava/util/Map<+[F-[F>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   191
    static Map<? extends float[], ? super float[]> staticBoundsFloatArray;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   192
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   193
    @ExpectedSignature(descriptor = "staticBoundsDoubleArray", signature = "Ljava/util/Map<+[D-[D>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   194
    static Map<? extends double[], ? super double[]> staticBoundsDoubleArray;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   195
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   196
    @ExpectedSignature(descriptor = "staticBoundsObjectArray",
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   197
            signature = "Ljava/util/Map<+[Ljava/lang/Object;-[Ljava/lang/Object;>;")
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   198
    static Map<? extends Object[], ? super Object[]> staticBoundsObjectArray;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   199
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   200
    static boolean staticBooleanNoSignatureAttribute;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   201
    static byte staticByteNoSignatureAttribute;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   202
    static char staticCharNoSignatureAttribute;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   203
    static short staticShortNoSignatureAttribute;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   204
    static int staticIntNoSignatureAttribute;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   205
    static long staticLongNoSignatureAttribute;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   206
    static float staticFloatNoSignatureAttribute;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   207
    static double staticDoubleNoSignatureAttribute;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   208
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   209
    static List staticListNoSignatureAttribute;
c03745b71c70 8049238: Implement classfile tests for Signature attribute
aeremeev
parents:
diff changeset
   210
}