diff --git a/src/IKVM.Util/Jar/JarFileExtensions.cs b/src/IKVM.Util/Jar/JarFileExtensions.cs index 63e03088c..14893f23a 100644 --- a/src/IKVM.Util/Jar/JarFileExtensions.cs +++ b/src/IKVM.Util/Jar/JarFileExtensions.cs @@ -45,7 +45,7 @@ static ModuleInfo GetModuleInfoFromClass(JarFile jar) using var s = e.Open(); using var c = ClassFile.Read(s); - if ((c.AccessFlags & AccessFlag.ACC_MODULE) != 0) + if ((c.AccessFlags & AccessFlag.Module) != 0) { var a = c.Attributes.FirstOrDefault(i => i.IsNotNil && i.Name.IsNotNil && c.Constants.Get(i.Name).Value == AttributeName.Module); if (a.IsNotNil)