Add -Xuse-old-class-files-reading CLI argument
By default we use the fast implementation in CLI compiler, but in the most of the tests the old one is enabled Also add tests on CompiledJava with the fast class reading implementation
This commit is contained in:
+7
@@ -107,6 +107,13 @@ public class K2JVMCompilerArguments extends CommonCompilerArguments {
|
||||
@Argument(value = "-Xskip-runtime-version-check", description = "Allow Kotlin runtime libraries of incompatible versions in the classpath")
|
||||
public boolean skipRuntimeVersionCheck;
|
||||
|
||||
@Argument(
|
||||
value = "-Xuse-old-class-files-reading",
|
||||
description = "Use old class files reading implementation " +
|
||||
"(may slow down the build and should be used in case of problems with the new implementation)"
|
||||
)
|
||||
public boolean useOldClassFilesReading;
|
||||
|
||||
@Argument(
|
||||
value = "-Xdump-declarations-to",
|
||||
valueDescription = "<path>",
|
||||
|
||||
Reference in New Issue
Block a user