We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de424ff commit 8acb454Copy full SHA for 8acb454
1 file changed
src/main/java/org/mangorage/mangobotlaunch/launch/MangoLoaderImpl.java
@@ -224,6 +224,8 @@ private static String toPackageName(String name) {
224
}
225
226
private boolean isOpen(ModuleReference mref, String pn) {
227
+ if (pn.isEmpty()) return true; // Open if its well, root...
228
+
229
ModuleDescriptor descriptor = mref.descriptor();
230
if (descriptor.isOpen() || descriptor.isAutomatic()) return true;
231
return descriptor.opens().stream().anyMatch(opens -> !opens.isQualified() && opens.source().equals(pn));
0 commit comments