mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8331291: java.lang.classfile.Attributes class performs a lot of static initializations
Reviewed-by: liach, redestad, vromero
This commit is contained in:
parent
0c934ff4e2
commit
cfdc64fcb4
149 changed files with 1669 additions and 1323 deletions
|
@ -85,7 +85,7 @@ public class NestedPatternVariablesBytecode extends TestRunner {
|
|||
.filter(this::isTestMethod)
|
||||
.findAny()
|
||||
.orElseThrow();
|
||||
CodeAttribute code_attribute = testMethod.findAttribute(Attributes.CODE).orElseThrow();
|
||||
CodeAttribute code_attribute = testMethod.findAttribute(Attributes.code()).orElseThrow();
|
||||
|
||||
List<String> actualCode = getCodeInstructions(code_attribute);
|
||||
List<String> expectedCode = Arrays.asList(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue