author | jjg |
Thu, 31 Mar 2016 15:20:50 -0700 | |
changeset 36778 | e04318f39f92 |
parent 36526 | 3b41f1c69604 |
permissions | -rw-r--r-- |
31750
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
1 |
/* |
36778
e04318f39f92
8152897: refactor ToolBox to allow reduced documented dependencies
jjg
parents:
36526
diff
changeset
|
2 |
* Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. |
31750
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
4 |
* |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
5 |
* This code is free software; you can redistribute it and/or modify it |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation. |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
8 |
* |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
13 |
* accompanied this code). |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
14 |
* |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
15 |
* You should have received a copy of the GNU General Public License version |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation, |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
18 |
* |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
20 |
* or visit www.oracle.com if you need additional information or have any |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
21 |
* questions. |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
22 |
*/ |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
23 |
|
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
24 |
/* |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
25 |
* @test |
33705
96aa1b93de52
8138612: Do not retain declaration annotations on lambda formal parameters
sadayapalam
parents:
31750
diff
changeset
|
26 |
* @bug 8044411 8079060 8138612 |
31750
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
27 |
* @summary Tests the RuntimeParameterVisibleAnnotations/RuntimeParameterInvisibleAnnotations attribute. |
35359 | 28 |
* @modules jdk.jdeps/com.sun.tools.classfile |
29 |
* jdk.compiler/com.sun.tools.javac.api |
|
30 |
* jdk.compiler/com.sun.tools.javac.main |
|
31750
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
31 |
* @library /tools/lib /tools/javac/lib ../lib |
36778
e04318f39f92
8152897: refactor ToolBox to allow reduced documented dependencies
jjg
parents:
36526
diff
changeset
|
32 |
* @build toolbox.ToolBox InMemoryFileManager TestResult TestBase |
e04318f39f92
8152897: refactor ToolBox to allow reduced documented dependencies
jjg
parents:
36526
diff
changeset
|
33 |
* @build WorkAnnotations TestCase ClassType TestAnnotationInfo |
31750
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
34 |
* @build RuntimeParameterAnnotationsForLambdaTest AnnotationsTestBase RuntimeParameterAnnotationsTestBase |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
35 |
* @run main RuntimeParameterAnnotationsForLambdaTest |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
36 |
*/ |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
37 |
|
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
38 |
import java.util.List; |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
39 |
import java.util.stream.Collectors; |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
40 |
|
33705
96aa1b93de52
8138612: Do not retain declaration annotations on lambda formal parameters
sadayapalam
parents:
31750
diff
changeset
|
41 |
import com.sun.tools.classfile.*; |
31750
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
42 |
|
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
43 |
/** |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
44 |
* RuntimeParameterAnnotationsForLambdaTest is a test which checks that RuntimeVisibleParameterAnnotationsAttribute |
33705
96aa1b93de52
8138612: Do not retain declaration annotations on lambda formal parameters
sadayapalam
parents:
31750
diff
changeset
|
45 |
* and RuntimeInvisibleParameterAnnotationsAttribute are not generated at all for lambda expressions. |
31750
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
46 |
* The test checks both single and repeatable annotations. |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
47 |
* All possible combinations of retention policies are tested. |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
48 |
* |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
49 |
* The test generates source code, compiles it and checks the byte code. |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
50 |
* |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
51 |
* See README.txt for more information. |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
52 |
*/ |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
53 |
public class RuntimeParameterAnnotationsForLambdaTest extends RuntimeParameterAnnotationsTestBase { |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
54 |
|
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
55 |
private static final String CLASS_NAME = "Test"; |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
56 |
private static final String SOURCE_TEMPLATE = |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
57 |
"public class " + CLASS_NAME + " {\n" + |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
58 |
" interface I { void method(int a, double b, String c); }\n" + |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
59 |
" %SOURCE%\n" + |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
60 |
"}"; |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
61 |
|
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
62 |
public static void main(String[] args) throws TestFailedException { |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
63 |
new RuntimeParameterAnnotationsForLambdaTest().test(); |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
64 |
} |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
65 |
|
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
66 |
@Override |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
67 |
public void test() throws TestFailedException { |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
68 |
try { |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
69 |
for (TestAnnotationInfos annotations : getAllCombinationsOfAnnotations()) { |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
70 |
try { |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
71 |
TestCase.TestMethodInfo testMethodInfo = new TestCase.TestMethodInfo(0, null, "lambda", false, false); |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
72 |
TestCase.TestParameterInfo p1 = testMethodInfo.addParameter("int", "a"); |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
73 |
annotations.annotate(p1); |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
74 |
testMethodInfo.addParameter("double", "b"); |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
75 |
TestCase.TestParameterInfo p3 = testMethodInfo.addParameter("String", "c"); |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
76 |
annotations.annotate(p3); |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
77 |
String source = SOURCE_TEMPLATE.replace("%SOURCE%", generateLambdaSource(testMethodInfo)); |
33705
96aa1b93de52
8138612: Do not retain declaration annotations on lambda formal parameters
sadayapalam
parents:
31750
diff
changeset
|
78 |
addTestCase(source); |
31750
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
79 |
echo("Testing:\n" + source); |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
80 |
ClassFile classFile = readClassFile(compile(source).getClasses().get(CLASS_NAME)); |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
81 |
boolean isFoundLambda = false; |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
82 |
for (Method method : classFile.methods) { |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
83 |
if (method.getName(classFile.constant_pool).startsWith("lambda$")) { |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
84 |
isFoundLambda = true; |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
85 |
testAttributes(testMethodInfo, classFile, method); |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
86 |
} |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
87 |
} |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
88 |
checkTrue(isFoundLambda, "The tested lambda method was not found."); |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
89 |
} catch (Exception e) { |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
90 |
addFailure(e); |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
91 |
} |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
92 |
} |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
93 |
} finally { |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
94 |
checkStatus(); |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
95 |
} |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
96 |
} |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
97 |
|
33705
96aa1b93de52
8138612: Do not retain declaration annotations on lambda formal parameters
sadayapalam
parents:
31750
diff
changeset
|
98 |
protected void testAttributes( |
96aa1b93de52
8138612: Do not retain declaration annotations on lambda formal parameters
sadayapalam
parents:
31750
diff
changeset
|
99 |
TestCase.TestMethodInfo testMethod, |
96aa1b93de52
8138612: Do not retain declaration annotations on lambda formal parameters
sadayapalam
parents:
31750
diff
changeset
|
100 |
ClassFile classFile, |
96aa1b93de52
8138612: Do not retain declaration annotations on lambda formal parameters
sadayapalam
parents:
31750
diff
changeset
|
101 |
Method method) throws ConstantPoolException { |
96aa1b93de52
8138612: Do not retain declaration annotations on lambda formal parameters
sadayapalam
parents:
31750
diff
changeset
|
102 |
Attributes attributes = method.attributes; |
96aa1b93de52
8138612: Do not retain declaration annotations on lambda formal parameters
sadayapalam
parents:
31750
diff
changeset
|
103 |
RuntimeParameterAnnotations_attribute attr = (RuntimeParameterAnnotations_attribute) attributes.get(Attribute.RuntimeInvisibleParameterAnnotations); |
96aa1b93de52
8138612: Do not retain declaration annotations on lambda formal parameters
sadayapalam
parents:
31750
diff
changeset
|
104 |
checkNull(attr, String.format("%s should be null", Attribute.RuntimeInvisibleParameterAnnotations)); |
96aa1b93de52
8138612: Do not retain declaration annotations on lambda formal parameters
sadayapalam
parents:
31750
diff
changeset
|
105 |
attr = (RuntimeParameterAnnotations_attribute) attributes.get(Attribute.RuntimeVisibleParameterAnnotations); |
96aa1b93de52
8138612: Do not retain declaration annotations on lambda formal parameters
sadayapalam
parents:
31750
diff
changeset
|
106 |
checkNull(attr, String.format("%s should be null", Attribute.RuntimeVisibleParameterAnnotations)); |
96aa1b93de52
8138612: Do not retain declaration annotations on lambda formal parameters
sadayapalam
parents:
31750
diff
changeset
|
107 |
} |
96aa1b93de52
8138612: Do not retain declaration annotations on lambda formal parameters
sadayapalam
parents:
31750
diff
changeset
|
108 |
|
31750
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
109 |
public String generateLambdaSource(TestCase.TestMethodInfo method) { |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
110 |
return method.parameters.stream() |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
111 |
.map(TestCase.TestParameterInfo::generateSource) |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
112 |
.collect(Collectors.joining(", ", "I i = (", ") -> {};")); |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
113 |
} |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
114 |
|
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
115 |
@Override |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
116 |
public List<TestCase> generateTestCases() { |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
117 |
throw new UnsupportedOperationException(); |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
118 |
} |
c65c37c0c691
8044411: Implement classfile tests for RuntimeAnnotations and RuntimeParameterAnnotations attribute.
aeremeev
parents:
diff
changeset
|
119 |
} |