Browse Source

Merge remote-tracking branch 'Stan/development' into development

kindlich 5 years ago
parent
commit
177b59341d
No known key found for this signature in database

+ 2
- 1
JavaIntegration/src/main/java/org/openzen/zencode/java/JavaNativeModule.java View File

@@ -61,6 +61,7 @@ import org.openzen.zenscript.javashared.JavaField;
61 61
 import org.openzen.zenscript.javashared.JavaFunctionalInterfaceStorageTag;
62 62
 import org.openzen.zenscript.javashared.JavaImplementation;
63 63
 import org.openzen.zenscript.javashared.JavaMethod;
64
+import org.openzen.zenscript.javashared.JavaModifiers;
64 65
 import stdlib.Strings;
65 66
 
66 67
 /**
@@ -600,7 +601,7 @@ public class JavaNativeModule {
600 601
 				functionalInterfaceMethod.getName(),
601 602
 				false,
602 603
 				getMethodDescriptor(functionalInterfaceMethod),
603
-				Modifiers.PUBLIC | Modifiers.ABSTRACT,
604
+				JavaModifiers.PUBLIC | JavaModifiers.ABSTRACT,
604 605
 				header.getReturnType().type.isGeneric());
605 606
 		StorageTag tag = new JavaFunctionalInterfaceStorageTag(functionalInterfaceMethod, method);
606 607
 		return registry.getFunction(header).stored(tag);

Loading…
Cancel
Save