void (@NotNull RuntimeModuleRepository moduleRepository, String @NotNull [] args, @NotNull ArrayList<Object> startupTimings, long startTimeUnixNano) { //when this new way to load the platform will become default, strategy instance may be passed explicitly instead ModuleBasedProductLoadingStrategy strategy = new ModuleBasedProductLoadingStrategy(moduleRepository); ProductLoadingStrategy.Companion.setStrategy(strategy); Main.mainImpl(args, startupTimings, startTimeUnixNano, strategy::addMainModuleGroupToClassPath); }