如何将资源添加到同名文件夹中的两个模块 jar 中?

5 java jar java-platform-module-system

假设我们有两个包含两个不同模块的 jar 文件。两个 jar 文件都在其 jar 中调用的文件夹中包含一些资源(比如说 png 文件)images。当我现在尝试在 java 中启动模块时,出现以下错误:

Error occurred during initialization of boot layer
java.lang.LayerInstantiationException: Package images in both module A and module B
Run Code Online (Sandbox Code Playgroud)

虽然我的images文件夹并不是一个包,而只是一个包含资源的文件夹。那么如何才能将两个带有images-fold 的模块放到我的模块路径上呢?