浏览代码

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

kindlich 5 年前
父节点
当前提交
177b59341d
找不到此签名对应的密钥
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      JavaIntegration/src/main/java/org/openzen/zencode/java/JavaNativeModule.java

+ 2
- 1
JavaIntegration/src/main/java/org/openzen/zencode/java/JavaNativeModule.java 查看文件

@@ -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);

正在加载...
取消
保存