I am the submitter for JDK-8299504. I found the problem while working on https://github.com/MinecraftForge/EventBus when attempting to set the dependency on modlauncher to “requires static” in EventBus/module-info.java at 84663719be842aedaddabf9cd8d46a2450959c9d · MinecraftForge/EventBus · GitHub. EventBus only directly references modlauncher in EventBus/ModLauncherService.java at 84663719be842aedaddabf9cd8d46a2450959c9d · MinecraftForge/EventBus · GitHub which is a service implementation for the “ILaunchPluginService” service interface in modlauncher to modify classes during classloading for optimization which would allow EventBus to be usable without modlauncher or with something else that applies the modifications during classloading or on the compiled jar like EventBusTransformer/Main.java at main · coehlrich/EventBusTransformer · GitHub. |
