8340323: Test jdk/classfile/OptionsTest.java fails after JDK-8340200

Reviewed-by: alanb
This commit is contained in:
Chen Liang 2024-09-17 18:13:54 +00:00
parent 90e92f98a6
commit 5dc9723c81

View File

@ -62,7 +62,7 @@ class OptionsTest {
@MethodSource("corpus")
void testAttributesProcessingOptionOnTransform(Path path) throws Exception {
testNoUnstable(path, ClassFile.of().parse(
ClassFile.of(ClassFile.AttributesProcessingOption.DROP_UNSTABLE_ATRIBUTES).transformClass(
ClassFile.of(ClassFile.AttributesProcessingOption.DROP_UNSTABLE_ATTRIBUTES).transformClass(
ClassFile.of().parse(path),
ClassTransform.transformingMethodBodies(CodeTransform.ACCEPT_ALL))));
}