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:
Denis Zharkov
2017-04-20 16:38:16 +03:00
parent af202ef5bc
commit a5c352dc9f
13 changed files with 1824 additions and 11 deletions
@@ -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>",