From 17605b3f18bc0b57c2d67747695ed1eff7e52d1f Mon Sep 17 00:00:00 2001 From: John Colvin Date: Thu, 2 Mar 2023 14:55:57 +0000 Subject: [PATCH] jni fix "module" as package name --- jni.d | 1 + 1 file changed, 1 insertion(+) diff --git a/jni.d b/jni.d index 15a609d..701986c 100644 --- a/jni.d +++ b/jni.d @@ -359,6 +359,7 @@ private inout(char)[] fixupKeywordsInJavaPackageName(inout(char)[] s) { s ~= "."; // lol i suck s = s.replace(".function.", ".function_."); s = s.replace(".ref.", ".ref_."); + s = s.replace(".module.", ".module_."); return s[0 .. $-1]; // god i am such a bad programmer }