瀏覽代碼

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

kindlich 6 年之前
父節點
當前提交
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);

Loading…
取消
儲存