Skip to content

a method with access flags ACC_ABSTRACT and ACC_STRICT is illegal if version less than V17

Remi Forax requested to merge abstract-and-strcitfp-are-illegal-until-v17 into master

CheckClassAdapter currently does not check if that a method access_flags with ACC_ABSTRACT and ACC_STRICT is illegal. Furthermore, the JVM spec of Java 17 now ignores ACC_STRICT thus ACC_ABSTRACT | ACC_STRICT becomes a valid combination for classfile version >= V17

Edited by Remi Forax

Merge request reports