8340323: Test jdk/classfile/OptionsTest.java fails after JDK-8340200
Reviewed-by: alanb
This commit is contained in:
parent
90e92f98a6
commit
5dc9723c81
@ -62,7 +62,7 @@ class OptionsTest {
|
|||||||
@MethodSource("corpus")
|
@MethodSource("corpus")
|
||||||
void testAttributesProcessingOptionOnTransform(Path path) throws Exception {
|
void testAttributesProcessingOptionOnTransform(Path path) throws Exception {
|
||||||
testNoUnstable(path, ClassFile.of().parse(
|
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),
|
ClassFile.of().parse(path),
|
||||||
ClassTransform.transformingMethodBodies(CodeTransform.ACCEPT_ALL))));
|
ClassTransform.transformingMethodBodies(CodeTransform.ACCEPT_ALL))));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user