KAPT3: Use another class in com.sun.tools.javac.main

Instead of CommandLine use Option, since CommandLine was moved or
removed from JDK 21.

 #KT-60507 Fixed
This commit is contained in:
Ilmir Usmanov
2023-08-28 19:21:31 +02:00
committed by Space Team
parent 62effc49fa
commit 6c13250a08
4 changed files with 63 additions and 1 deletions
@@ -15,7 +15,7 @@ val REQUIRED_PACKAGES_TO_TEST_CLASSES = mapOf(
"com.sun.tools.javac.util" to "Context",
"com.sun.tools.javac.file" to "CacheFSInfo",
"com.sun.tools.javac.tree" to "TreeTranslator",
"com.sun.tools.javac.main" to "CommandLine",
"com.sun.tools.javac.main" to "Option",
"com.sun.tools.javac.jvm" to "ClassFile",
"com.sun.tools.javac.parser" to "Tokens\$TokenKind",
"com.sun.tools.javac.code" to "Source",