Actually fix the issue

This commit is contained in:
modmuss50 2020-04-07 00:12:50 +01:00
parent 232118e69e
commit 702e4ea80b

View file

@ -319,7 +319,7 @@ public class AccessWidener {
}
// Skip interface and static methods
if ((ownerAccess & (Opcodes.ACC_INTERFACE | Opcodes.ACC_STATIC)) != 0) {
if ((ownerAccess & Opcodes.ACC_INTERFACE) != 0 || (access & Opcodes.ACC_STATIC) != 0) {
return access;
}