在将我的 java 项目从 Kotlin 1.2 迁移到 1.4 期间,我遇到了一个问题,即在 v 1.4 中没有 KotlinToJVMBytecodeCompiler.compileScript() 这样的方法
Class<?> script = requireNonNull(KotlinToJVMBytecodeCompiler.INSTANCE.compileScript(environment, getClass().getClassLoader()), () -> file + " compilation failed");
请建议我应该用什么替换它?
谢谢!