Rename 'RELEASE' fields into 'JDK_RELEASE'
This commit is contained in:
@@ -239,7 +239,7 @@ class KotlinCoreEnvironment private constructor(
|
|||||||
val javaFileManager = ServiceManager.getService(project, CoreJavaFileManager::class.java) as KotlinCliJavaFileManagerImpl
|
val javaFileManager = ServiceManager.getService(project, CoreJavaFileManager::class.java) as KotlinCliJavaFileManagerImpl
|
||||||
|
|
||||||
val jdkHome = configuration.get(JVMConfigurationKeys.JDK_HOME)
|
val jdkHome = configuration.get(JVMConfigurationKeys.JDK_HOME)
|
||||||
val releaseTarget = configuration.get(JVMConfigurationKeys.RELEASE, 0)
|
val releaseTarget = configuration.get(JVMConfigurationKeys.JDK_RELEASE, 0)
|
||||||
val javaModuleFinder = CliJavaModuleFinder(
|
val javaModuleFinder = CliJavaModuleFinder(
|
||||||
jdkHome,
|
jdkHome,
|
||||||
messageCollector,
|
messageCollector,
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ fun CompilerConfiguration.setupJvmSpecificArguments(arguments: K2JVMCompilerArgu
|
|||||||
} else {
|
} else {
|
||||||
//don't use release flag if it equals to compilation JDK version
|
//don't use release flag if it equals to compilation JDK version
|
||||||
if (value != getJavaVersion() || arguments.jdkHome != null) {
|
if (value != getJavaVersion() || arguments.jdkHome != null) {
|
||||||
put(JVMConfigurationKeys.RELEASE, value)
|
put(JVMConfigurationKeys.JDK_RELEASE, value)
|
||||||
}
|
}
|
||||||
if (jvmTargetArg != null && jvmTargetArg != releaseTargetArg) {
|
if (jvmTargetArg != null && jvmTargetArg != releaseTargetArg) {
|
||||||
messageCollector.report(
|
messageCollector.report(
|
||||||
@@ -185,7 +185,7 @@ fun CompilerConfiguration.configureExplicitContentRoots(arguments: K2JVMCompiler
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun CompilerConfiguration.configureStandardLibs(paths: KotlinPaths?, arguments: K2JVMCompilerArguments) {
|
fun CompilerConfiguration.configureStandardLibs(paths: KotlinPaths?, arguments: K2JVMCompilerArguments) {
|
||||||
val releaseFlagValue = this.get(JVMConfigurationKeys.RELEASE, 0)
|
val releaseFlagValue = this.get(JVMConfigurationKeys.JDK_RELEASE, 0)
|
||||||
val isModularJava = isModularJava() && (releaseFlagValue <= 0 || releaseFlagValue >= 9)
|
val isModularJava = isModularJava() && (releaseFlagValue <= 0 || releaseFlagValue >= 9)
|
||||||
|
|
||||||
fun addRoot(moduleName: String, libraryName: String, getLibrary: (KotlinPaths) -> File, noLibraryArgument: String) {
|
fun addRoot(moduleName: String, libraryName: String, getLibrary: (KotlinPaths) -> File, noLibraryArgument: String) {
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ public class JVMConfigurationKeys {
|
|||||||
public static final CompilerConfigurationKey<JvmStringConcat> STRING_CONCAT =
|
public static final CompilerConfigurationKey<JvmStringConcat> STRING_CONCAT =
|
||||||
CompilerConfigurationKey.create("Specifies string concatenation scheme");
|
CompilerConfigurationKey.create("Specifies string concatenation scheme");
|
||||||
|
|
||||||
public static final CompilerConfigurationKey<Integer> RELEASE =
|
public static final CompilerConfigurationKey<Integer> JDK_RELEASE =
|
||||||
CompilerConfigurationKey.create("Specifies JDK API version");
|
CompilerConfigurationKey.create("Specifies JDK API version");
|
||||||
|
|
||||||
public static final CompilerConfigurationKey<JvmClosureGenerationScheme> SAM_CONVERSIONS =
|
public static final CompilerConfigurationKey<JvmClosureGenerationScheme> SAM_CONVERSIONS =
|
||||||
|
|||||||
+1
-1
@@ -59,7 +59,7 @@ object LanguageSettingsDirectives : SimpleDirectivesContainer() {
|
|||||||
additionalParser = JvmDefaultMode.Companion::fromStringOrNull
|
additionalParser = JvmDefaultMode.Companion::fromStringOrNull
|
||||||
)
|
)
|
||||||
|
|
||||||
val RELEASE by valueDirective(
|
val JDK_RELEASE by valueDirective(
|
||||||
description = "Configures corresponding release flag",
|
description = "Configures corresponding release flag",
|
||||||
parser = Integer::valueOf
|
parser = Integer::valueOf
|
||||||
)
|
)
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// RELEASE: 10
|
// JDK_RELEASE: 10
|
||||||
// CHECK_BYTECODE_TEXT
|
// CHECK_BYTECODE_TEXT
|
||||||
// 1 public final static clear\(Ljava/nio/ByteBuffer;\)Ljava/nio/ByteBuffer;
|
// 1 public final static clear\(Ljava/nio/ByteBuffer;\)Ljava/nio/ByteBuffer;
|
||||||
// 1 INVOKEVIRTUAL java/nio/ByteBuffer.clear \(\)Ljava/nio/ByteBuffer;
|
// 1 INVOKEVIRTUAL java/nio/ByteBuffer.clear \(\)Ljava/nio/ByteBuffer;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// RELEASE: 11
|
// JDK_RELEASE: 11
|
||||||
// CHECK_BYTECODE_TEXT
|
// CHECK_BYTECODE_TEXT
|
||||||
// 1 public final static clear\(Ljava/nio/ByteBuffer;\)Ljava/nio/ByteBuffer;
|
// 1 public final static clear\(Ljava/nio/ByteBuffer;\)Ljava/nio/ByteBuffer;
|
||||||
// 1 INVOKEVIRTUAL java/nio/ByteBuffer.clear \(\)Ljava/nio/ByteBuffer;
|
// 1 INVOKEVIRTUAL java/nio/ByteBuffer.clear \(\)Ljava/nio/ByteBuffer;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// RELEASE: 6
|
// JDK_RELEASE: 6
|
||||||
// CHECK_BYTECODE_TEXT
|
// CHECK_BYTECODE_TEXT
|
||||||
// 1 public final static clear\(Ljava/nio/ByteBuffer;\)Ljava/nio/Buffer;
|
// 1 public final static clear\(Ljava/nio/ByteBuffer;\)Ljava/nio/Buffer;
|
||||||
// 1 INVOKEVIRTUAL java/nio/ByteBuffer.clear \(\)Ljava/nio/Buffer;
|
// 1 INVOKEVIRTUAL java/nio/ByteBuffer.clear \(\)Ljava/nio/Buffer;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// RELEASE: 8
|
// JDK_RELEASE: 8
|
||||||
// CHECK_BYTECODE_TEXT
|
// CHECK_BYTECODE_TEXT
|
||||||
// 1 public final static clear\(Ljava/nio/ByteBuffer;\)Ljava/nio/Buffer;
|
// 1 public final static clear\(Ljava/nio/ByteBuffer;\)Ljava/nio/Buffer;
|
||||||
// 1 INVOKEVIRTUAL java/nio/ByteBuffer.clear \(\)Ljava/nio/Buffer;
|
// 1 INVOKEVIRTUAL java/nio/ByteBuffer.clear \(\)Ljava/nio/Buffer;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// RELEASE: 9
|
// JDK_RELEASE: 9
|
||||||
// CHECK_BYTECODE_TEXT
|
// CHECK_BYTECODE_TEXT
|
||||||
// 1 public final static clear\(Ljava/nio/ByteBuffer;\)Ljava/nio/ByteBuffer;
|
// 1 public final static clear\(Ljava/nio/ByteBuffer;\)Ljava/nio/ByteBuffer;
|
||||||
// 1 INVOKEVIRTUAL java/nio/ByteBuffer.clear \(\)Ljava/nio/ByteBuffer;
|
// 1 INVOKEVIRTUAL java/nio/ByteBuffer.clear \(\)Ljava/nio/ByteBuffer;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// RELEASE: 10
|
// JDK_RELEASE: 10
|
||||||
// CHECK_BYTECODE_TEXT
|
// CHECK_BYTECODE_TEXT
|
||||||
// 2 CHECKCAST java/lang/ReflectiveOperationException
|
// 2 CHECKCAST java/lang/ReflectiveOperationException
|
||||||
// 1 LOCALVARIABLE reflective Ljava/lang/ReflectiveOperationException;
|
// 1 LOCALVARIABLE reflective Ljava/lang/ReflectiveOperationException;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// RELEASE: 11
|
// JDK_RELEASE: 11
|
||||||
// CHECK_BYTECODE_TEXT
|
// CHECK_BYTECODE_TEXT
|
||||||
// 2 CHECKCAST java/lang/ReflectiveOperationException
|
// 2 CHECKCAST java/lang/ReflectiveOperationException
|
||||||
// 1 LOCALVARIABLE reflective Ljava/lang/ReflectiveOperationException;
|
// 1 LOCALVARIABLE reflective Ljava/lang/ReflectiveOperationException;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// RELEASE: 6
|
// JDK_RELEASE: 6
|
||||||
// CHECK_BYTECODE_TEXT
|
// CHECK_BYTECODE_TEXT
|
||||||
// 0 CHECKCAST java/lang/ReflectiveOperationException
|
// 0 CHECKCAST java/lang/ReflectiveOperationException
|
||||||
// 0 LOCALVARIABLE reflective Ljava/lang/ReflectiveOperationException;
|
// 0 LOCALVARIABLE reflective Ljava/lang/ReflectiveOperationException;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// RELEASE: 8
|
// JDK_RELEASE: 8
|
||||||
// CHECK_BYTECODE_TEXT
|
// CHECK_BYTECODE_TEXT
|
||||||
// 2 CHECKCAST java/lang/ReflectiveOperationException
|
// 2 CHECKCAST java/lang/ReflectiveOperationException
|
||||||
// 1 LOCALVARIABLE reflective Ljava/lang/ReflectiveOperationException;
|
// 1 LOCALVARIABLE reflective Ljava/lang/ReflectiveOperationException;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// RELEASE: 9
|
// JDK_RELEASE: 9
|
||||||
// CHECK_BYTECODE_TEXT
|
// CHECK_BYTECODE_TEXT
|
||||||
// 2 CHECKCAST java/lang/ReflectiveOperationException
|
// 2 CHECKCAST java/lang/ReflectiveOperationException
|
||||||
// 1 LOCALVARIABLE reflective Ljava/lang/ReflectiveOperationException;
|
// 1 LOCALVARIABLE reflective Ljava/lang/ReflectiveOperationException;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// RELEASE: 10
|
// JDK_RELEASE: 10
|
||||||
// CHECK_BYTECODE_TEXT
|
// CHECK_BYTECODE_TEXT
|
||||||
// 1 public final static clear\(Ljava/nio/ByteBuffer;\)Ljava/nio/ByteBuffer;
|
// 1 public final static clear\(Ljava/nio/ByteBuffer;\)Ljava/nio/ByteBuffer;
|
||||||
// 1 INVOKEVIRTUAL java/nio/ByteBuffer.clear \(\)Ljava/nio/ByteBuffer;
|
// 1 INVOKEVIRTUAL java/nio/ByteBuffer.clear \(\)Ljava/nio/ByteBuffer;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// RELEASE: 11
|
// JDK_RELEASE: 11
|
||||||
// CHECK_BYTECODE_TEXT
|
// CHECK_BYTECODE_TEXT
|
||||||
// 1 public final static clear\(Ljava/nio/ByteBuffer;\)Ljava/nio/ByteBuffer;
|
// 1 public final static clear\(Ljava/nio/ByteBuffer;\)Ljava/nio/ByteBuffer;
|
||||||
// 1 INVOKEVIRTUAL java/nio/ByteBuffer.clear \(\)Ljava/nio/ByteBuffer;
|
// 1 INVOKEVIRTUAL java/nio/ByteBuffer.clear \(\)Ljava/nio/ByteBuffer;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// RELEASE: 12
|
// JDK_RELEASE: 12
|
||||||
// CHECK_BYTECODE_TEXT
|
// CHECK_BYTECODE_TEXT
|
||||||
// 1 public final static clear\(Ljava/nio/ByteBuffer;\)Ljava/nio/ByteBuffer;
|
// 1 public final static clear\(Ljava/nio/ByteBuffer;\)Ljava/nio/ByteBuffer;
|
||||||
// 1 INVOKEVIRTUAL java/nio/ByteBuffer.clear \(\)Ljava/nio/ByteBuffer;
|
// 1 INVOKEVIRTUAL java/nio/ByteBuffer.clear \(\)Ljava/nio/ByteBuffer;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// RELEASE: 13
|
// JDK_RELEASE: 13
|
||||||
// CHECK_BYTECODE_TEXT
|
// CHECK_BYTECODE_TEXT
|
||||||
// 1 public final static clear\(Ljava/nio/ByteBuffer;\)Ljava/nio/ByteBuffer;
|
// 1 public final static clear\(Ljava/nio/ByteBuffer;\)Ljava/nio/ByteBuffer;
|
||||||
// 1 INVOKEVIRTUAL java/nio/ByteBuffer.clear \(\)Ljava/nio/ByteBuffer;
|
// 1 INVOKEVIRTUAL java/nio/ByteBuffer.clear \(\)Ljava/nio/ByteBuffer;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// RELEASE: 14
|
// JDK_RELEASE: 14
|
||||||
// CHECK_BYTECODE_TEXT
|
// CHECK_BYTECODE_TEXT
|
||||||
// 1 public final static clear\(Ljava/nio/ByteBuffer;\)Ljava/nio/ByteBuffer;
|
// 1 public final static clear\(Ljava/nio/ByteBuffer;\)Ljava/nio/ByteBuffer;
|
||||||
// 1 INVOKEVIRTUAL java/nio/ByteBuffer.clear \(\)Ljava/nio/ByteBuffer;
|
// 1 INVOKEVIRTUAL java/nio/ByteBuffer.clear \(\)Ljava/nio/ByteBuffer;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// RELEASE: 15
|
// JDK_RELEASE: 15
|
||||||
// CHECK_BYTECODE_TEXT
|
// CHECK_BYTECODE_TEXT
|
||||||
// 1 public final static clear\(Ljava/nio/ByteBuffer;\)Ljava/nio/ByteBuffer;
|
// 1 public final static clear\(Ljava/nio/ByteBuffer;\)Ljava/nio/ByteBuffer;
|
||||||
// 1 INVOKEVIRTUAL java/nio/ByteBuffer.clear \(\)Ljava/nio/ByteBuffer;
|
// 1 INVOKEVIRTUAL java/nio/ByteBuffer.clear \(\)Ljava/nio/ByteBuffer;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// RELEASE: 16
|
// JDK_RELEASE: 16
|
||||||
// CHECK_BYTECODE_TEXT
|
// CHECK_BYTECODE_TEXT
|
||||||
// 1 public final static clear\(Ljava/nio/ByteBuffer;\)Ljava/nio/ByteBuffer;
|
// 1 public final static clear\(Ljava/nio/ByteBuffer;\)Ljava/nio/ByteBuffer;
|
||||||
// 1 INVOKEVIRTUAL java/nio/ByteBuffer.clear \(\)Ljava/nio/ByteBuffer;
|
// 1 INVOKEVIRTUAL java/nio/ByteBuffer.clear \(\)Ljava/nio/ByteBuffer;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// RELEASE: 17
|
// JDK_RELEASE: 17
|
||||||
// CHECK_BYTECODE_TEXT
|
// CHECK_BYTECODE_TEXT
|
||||||
// 1 public final static clear\(Ljava/nio/ByteBuffer;\)Ljava/nio/ByteBuffer;
|
// 1 public final static clear\(Ljava/nio/ByteBuffer;\)Ljava/nio/ByteBuffer;
|
||||||
// 1 INVOKEVIRTUAL java/nio/ByteBuffer.clear \(\)Ljava/nio/ByteBuffer;
|
// 1 INVOKEVIRTUAL java/nio/ByteBuffer.clear \(\)Ljava/nio/ByteBuffer;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// RELEASE: 8
|
// JDK_RELEASE: 8
|
||||||
// CHECK_BYTECODE_TEXT
|
// CHECK_BYTECODE_TEXT
|
||||||
// 1 public final static clear\(Ljava/nio/ByteBuffer;\)Ljava/nio/Buffer;
|
// 1 public final static clear\(Ljava/nio/ByteBuffer;\)Ljava/nio/Buffer;
|
||||||
// 1 INVOKEVIRTUAL java/nio/ByteBuffer.clear \(\)Ljava/nio/Buffer;
|
// 1 INVOKEVIRTUAL java/nio/ByteBuffer.clear \(\)Ljava/nio/Buffer;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// RELEASE: 9
|
// JDK_RELEASE: 9
|
||||||
// CHECK_BYTECODE_TEXT
|
// CHECK_BYTECODE_TEXT
|
||||||
// 1 public final static clear\(Ljava/nio/ByteBuffer;\)Ljava/nio/ByteBuffer;
|
// 1 public final static clear\(Ljava/nio/ByteBuffer;\)Ljava/nio/ByteBuffer;
|
||||||
// 1 INVOKEVIRTUAL java/nio/ByteBuffer.clear \(\)Ljava/nio/ByteBuffer;
|
// 1 INVOKEVIRTUAL java/nio/ByteBuffer.clear \(\)Ljava/nio/ByteBuffer;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// RELEASE: 10
|
// JDK_RELEASE: 10
|
||||||
// CHECK_BYTECODE_TEXT
|
// CHECK_BYTECODE_TEXT
|
||||||
// 0 CHECKCAST java/lang/constant/Constable
|
// 0 CHECKCAST java/lang/constant/Constable
|
||||||
// 0 LOCALVARIABLE constable Ljava/lang/constant/Constable;
|
// 0 LOCALVARIABLE constable Ljava/lang/constant/Constable;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// RELEASE: 11
|
// JDK_RELEASE: 11
|
||||||
// CHECK_BYTECODE_TEXT
|
// CHECK_BYTECODE_TEXT
|
||||||
// 0 CHECKCAST java/lang/constant/Constable
|
// 0 CHECKCAST java/lang/constant/Constable
|
||||||
// 0 LOCALVARIABLE constable Ljava/lang/constant/Constable;
|
// 0 LOCALVARIABLE constable Ljava/lang/constant/Constable;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// RELEASE: 12
|
// JDK_RELEASE: 12
|
||||||
// CHECK_BYTECODE_TEXT
|
// CHECK_BYTECODE_TEXT
|
||||||
// 2 CHECKCAST java/lang/constant/Constable
|
// 2 CHECKCAST java/lang/constant/Constable
|
||||||
// 1 LOCALVARIABLE constable Ljava/lang/constant/Constable;
|
// 1 LOCALVARIABLE constable Ljava/lang/constant/Constable;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// RELEASE: 13
|
// JDK_RELEASE: 13
|
||||||
// CHECK_BYTECODE_TEXT
|
// CHECK_BYTECODE_TEXT
|
||||||
// 2 CHECKCAST java/lang/constant/Constable
|
// 2 CHECKCAST java/lang/constant/Constable
|
||||||
// 1 LOCALVARIABLE constable Ljava/lang/constant/Constable;
|
// 1 LOCALVARIABLE constable Ljava/lang/constant/Constable;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// RELEASE: 14
|
// JDK_RELEASE: 14
|
||||||
// CHECK_BYTECODE_TEXT
|
// CHECK_BYTECODE_TEXT
|
||||||
// 2 CHECKCAST java/lang/constant/Constable
|
// 2 CHECKCAST java/lang/constant/Constable
|
||||||
// 1 LOCALVARIABLE constable Ljava/lang/constant/Constable;
|
// 1 LOCALVARIABLE constable Ljava/lang/constant/Constable;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// RELEASE: 15
|
// JDK_RELEASE: 15
|
||||||
// CHECK_BYTECODE_TEXT
|
// CHECK_BYTECODE_TEXT
|
||||||
// 2 CHECKCAST java/lang/constant/Constable
|
// 2 CHECKCAST java/lang/constant/Constable
|
||||||
// 1 LOCALVARIABLE constable Ljava/lang/constant/Constable;
|
// 1 LOCALVARIABLE constable Ljava/lang/constant/Constable;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// RELEASE: 16
|
// JDK_RELEASE: 16
|
||||||
// CHECK_BYTECODE_TEXT
|
// CHECK_BYTECODE_TEXT
|
||||||
// 2 CHECKCAST java/lang/constant/Constable
|
// 2 CHECKCAST java/lang/constant/Constable
|
||||||
// 1 LOCALVARIABLE constable Ljava/lang/constant/Constable;
|
// 1 LOCALVARIABLE constable Ljava/lang/constant/Constable;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// RELEASE: 17
|
// JDK_RELEASE: 17
|
||||||
// CHECK_BYTECODE_TEXT
|
// CHECK_BYTECODE_TEXT
|
||||||
// 2 CHECKCAST java/lang/constant/Constable
|
// 2 CHECKCAST java/lang/constant/Constable
|
||||||
// 1 LOCALVARIABLE constable Ljava/lang/constant/Constable;
|
// 1 LOCALVARIABLE constable Ljava/lang/constant/Constable;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// RELEASE: 8
|
// JDK_RELEASE: 8
|
||||||
// CHECK_BYTECODE_TEXT
|
// CHECK_BYTECODE_TEXT
|
||||||
// 0 CHECKCAST java/lang/constant/Constable
|
// 0 CHECKCAST java/lang/constant/Constable
|
||||||
// 0 LOCALVARIABLE constable Ljava/lang/constant/Constable;
|
// 0 LOCALVARIABLE constable Ljava/lang/constant/Constable;
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// RELEASE: 9
|
// JDK_RELEASE: 9
|
||||||
// CHECK_BYTECODE_TEXT
|
// CHECK_BYTECODE_TEXT
|
||||||
// 0 CHECKCAST java/lang/constant/Constable
|
// 0 CHECKCAST java/lang/constant/Constable
|
||||||
// 0 LOCALVARIABLE constable Ljava/lang/constant/Constable;
|
// 0 LOCALVARIABLE constable Ljava/lang/constant/Constable;
|
||||||
|
|||||||
+2
-2
@@ -47,7 +47,7 @@ import org.jetbrains.kotlin.test.directives.LanguageSettingsDirectives.ENABLE_JV
|
|||||||
import org.jetbrains.kotlin.test.directives.LanguageSettingsDirectives.NO_OPTIMIZED_CALLABLE_REFERENCES
|
import org.jetbrains.kotlin.test.directives.LanguageSettingsDirectives.NO_OPTIMIZED_CALLABLE_REFERENCES
|
||||||
import org.jetbrains.kotlin.test.directives.LanguageSettingsDirectives.NO_UNIFIED_NULL_CHECKS
|
import org.jetbrains.kotlin.test.directives.LanguageSettingsDirectives.NO_UNIFIED_NULL_CHECKS
|
||||||
import org.jetbrains.kotlin.test.directives.LanguageSettingsDirectives.PARAMETERS_METADATA
|
import org.jetbrains.kotlin.test.directives.LanguageSettingsDirectives.PARAMETERS_METADATA
|
||||||
import org.jetbrains.kotlin.test.directives.LanguageSettingsDirectives.RELEASE
|
import org.jetbrains.kotlin.test.directives.LanguageSettingsDirectives.JDK_RELEASE
|
||||||
import org.jetbrains.kotlin.test.directives.model.DirectivesContainer
|
import org.jetbrains.kotlin.test.directives.model.DirectivesContainer
|
||||||
import org.jetbrains.kotlin.test.directives.model.RegisteredDirectives
|
import org.jetbrains.kotlin.test.directives.model.RegisteredDirectives
|
||||||
import org.jetbrains.kotlin.test.model.DependencyDescription
|
import org.jetbrains.kotlin.test.model.DependencyDescription
|
||||||
@@ -146,7 +146,7 @@ class JvmEnvironmentConfigurator(testServices: TestServices) : EnvironmentConfig
|
|||||||
register(PARAMETERS_METADATA, JVMConfigurationKeys.PARAMETERS_METADATA)
|
register(PARAMETERS_METADATA, JVMConfigurationKeys.PARAMETERS_METADATA)
|
||||||
register(JVM_TARGET, JVMConfigurationKeys.JVM_TARGET)
|
register(JVM_TARGET, JVMConfigurationKeys.JVM_TARGET)
|
||||||
register(SERIALIZE_IR, JVMConfigurationKeys.SERIALIZE_IR)
|
register(SERIALIZE_IR, JVMConfigurationKeys.SERIALIZE_IR)
|
||||||
register(RELEASE, JVMConfigurationKeys.RELEASE)
|
register(JDK_RELEASE, JVMConfigurationKeys.JDK_RELEASE)
|
||||||
}
|
}
|
||||||
|
|
||||||
@OptIn(ExperimentalPathApi::class, ExperimentalStdlibApi::class)
|
@OptIn(ExperimentalPathApi::class, ExperimentalStdlibApi::class)
|
||||||
|
|||||||
Reference in New Issue
Block a user