diff --git a/compiler/testData/codegen/box/annotations/parameterAnnotationInDefaultImpls.kt b/compiler/testData/codegen/box/annotations/parameterAnnotationInDefaultImpls.kt index 59d74aa6777..fe662778502 100644 --- a/compiler/testData/codegen/box/annotations/parameterAnnotationInDefaultImpls.kt +++ b/compiler/testData/codegen/box/annotations/parameterAnnotationInDefaultImpls.kt @@ -1,7 +1,7 @@ -// IGNORE_BACKEND: JS_IR +// SKIP_JDK6 +// TARGET_BACKEND: JVM // FULL_JDK // WITH_REFLECT -// IGNORE_BACKEND: JS, NATIVE annotation class Anno(val value: String) diff --git a/compiler/testData/codegen/box/builtinStubMethods/immutableRemove.kt b/compiler/testData/codegen/box/builtinStubMethods/immutableRemove.kt index e938d9e9b65..286fc906a5c 100644 --- a/compiler/testData/codegen/box/builtinStubMethods/immutableRemove.kt +++ b/compiler/testData/codegen/box/builtinStubMethods/immutableRemove.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // FULL_JDK diff --git a/compiler/testData/codegen/box/builtinStubMethods/mapGetOrDefault/noTypeSafeBridge.kt b/compiler/testData/codegen/box/builtinStubMethods/mapGetOrDefault/noTypeSafeBridge.kt index fafcfa12db2..76b1dbadea6 100644 --- a/compiler/testData/codegen/box/builtinStubMethods/mapGetOrDefault/noTypeSafeBridge.kt +++ b/compiler/testData/codegen/box/builtinStubMethods/mapGetOrDefault/noTypeSafeBridge.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // TARGET_BACKEND: JVM // FULL_JDK // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/builtinStubMethods/mapGetOrDefault/typeSafeBridge.kt b/compiler/testData/codegen/box/builtinStubMethods/mapGetOrDefault/typeSafeBridge.kt index cedd3efa8fc..073d35d0916 100644 --- a/compiler/testData/codegen/box/builtinStubMethods/mapGetOrDefault/typeSafeBridge.kt +++ b/compiler/testData/codegen/box/builtinStubMethods/mapGetOrDefault/typeSafeBridge.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // FULL_JDK diff --git a/compiler/testData/codegen/box/builtinStubMethods/mapGetOrDefault/typeSafeBridgeNotNullAny.kt b/compiler/testData/codegen/box/builtinStubMethods/mapGetOrDefault/typeSafeBridgeNotNullAny.kt index 51a12e82e12..5cc9d5eae03 100644 --- a/compiler/testData/codegen/box/builtinStubMethods/mapGetOrDefault/typeSafeBridgeNotNullAny.kt +++ b/compiler/testData/codegen/box/builtinStubMethods/mapGetOrDefault/typeSafeBridgeNotNullAny.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // FULL_JDK diff --git a/compiler/testData/codegen/box/builtinStubMethods/mapRemove/noDefaultImpls.kt b/compiler/testData/codegen/box/builtinStubMethods/mapRemove/noDefaultImpls.kt index 55d1d52ab27..0ad012a8346 100644 --- a/compiler/testData/codegen/box/builtinStubMethods/mapRemove/noDefaultImpls.kt +++ b/compiler/testData/codegen/box/builtinStubMethods/mapRemove/noDefaultImpls.kt @@ -1,5 +1,6 @@ // !API_VERSION: 1.3 // !JVM_DEFAULT_MODE: enable +// SKIP_JDK6 // IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // JVM_TARGET: 1.8 diff --git a/compiler/testData/codegen/box/builtinStubMethods/mapRemove/readOnlyMap.kt b/compiler/testData/codegen/box/builtinStubMethods/mapRemove/readOnlyMap.kt index 25d35b66f84..97ce3cdd5e8 100644 --- a/compiler/testData/codegen/box/builtinStubMethods/mapRemove/readOnlyMap.kt +++ b/compiler/testData/codegen/box/builtinStubMethods/mapRemove/readOnlyMap.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // FULL_JDK diff --git a/compiler/testData/codegen/box/builtinStubMethods/mapRemove/typeSafeBridge.kt b/compiler/testData/codegen/box/builtinStubMethods/mapRemove/typeSafeBridge.kt index df39133918f..8cade1ffb56 100644 --- a/compiler/testData/codegen/box/builtinStubMethods/mapRemove/typeSafeBridge.kt +++ b/compiler/testData/codegen/box/builtinStubMethods/mapRemove/typeSafeBridge.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // TARGET_BACKEND: JVM // FULL_JDK // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/builtinStubMethods/mapRemove/typeSafeBridgeNotNullAny.kt b/compiler/testData/codegen/box/builtinStubMethods/mapRemove/typeSafeBridgeNotNullAny.kt index d9a230e3bc0..42cd442965a 100644 --- a/compiler/testData/codegen/box/builtinStubMethods/mapRemove/typeSafeBridgeNotNullAny.kt +++ b/compiler/testData/codegen/box/builtinStubMethods/mapRemove/typeSafeBridgeNotNullAny.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // FULL_JDK diff --git a/compiler/testData/codegen/box/coroutines/async.kt b/compiler/testData/codegen/box/coroutines/async.kt index 72469ff43b7..9a30280f0a6 100644 --- a/compiler/testData/codegen/box/coroutines/async.kt +++ b/compiler/testData/codegen/box/coroutines/async.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/coroutines/asyncException.kt b/compiler/testData/codegen/box/coroutines/asyncException.kt index 7d62640ec1f..0193da79806 100644 --- a/compiler/testData/codegen/box/coroutines/asyncException.kt +++ b/compiler/testData/codegen/box/coroutines/asyncException.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/delegation/byMiddleInterface.kt b/compiler/testData/codegen/box/delegation/byMiddleInterface.kt index 32a34aa87b1..5f6256df741 100644 --- a/compiler/testData/codegen/box/delegation/byMiddleInterface.kt +++ b/compiler/testData/codegen/box/delegation/byMiddleInterface.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // TARGET_BACKEND: JVM // FILE: Base.java diff --git a/compiler/testData/codegen/box/delegation/defaultOverride.kt b/compiler/testData/codegen/box/delegation/defaultOverride.kt index 8b5bbed109d..c2a66177a7a 100644 --- a/compiler/testData/codegen/box/delegation/defaultOverride.kt +++ b/compiler/testData/codegen/box/delegation/defaultOverride.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // TARGET_BACKEND: JVM // FILE: Base.java diff --git a/compiler/testData/codegen/box/delegation/delegationToMap.kt b/compiler/testData/codegen/box/delegation/delegationToMap.kt index e7271a7fbe8..07775a3c9b0 100644 --- a/compiler/testData/codegen/box/delegation/delegationToMap.kt +++ b/compiler/testData/codegen/box/delegation/delegationToMap.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // FULL_JDK diff --git a/compiler/testData/codegen/box/delegation/diamond.kt b/compiler/testData/codegen/box/delegation/diamond.kt index 2baa3bb39a3..8a60bda7ef8 100644 --- a/compiler/testData/codegen/box/delegation/diamond.kt +++ b/compiler/testData/codegen/box/delegation/diamond.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // TARGET_BACKEND: JVM // FILE: Base.java diff --git a/compiler/testData/codegen/box/delegation/diamond2.kt b/compiler/testData/codegen/box/delegation/diamond2.kt index 351be945361..daf19245ade 100644 --- a/compiler/testData/codegen/box/delegation/diamond2.kt +++ b/compiler/testData/codegen/box/delegation/diamond2.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // TARGET_BACKEND: JVM // FILE: Base.java diff --git a/compiler/testData/codegen/box/delegation/inClassDeclaration.kt b/compiler/testData/codegen/box/delegation/inClassDeclaration.kt index 28990142566..57d180b8c38 100644 --- a/compiler/testData/codegen/box/delegation/inClassDeclaration.kt +++ b/compiler/testData/codegen/box/delegation/inClassDeclaration.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // TARGET_BACKEND: JVM // FILE: Base.java diff --git a/compiler/testData/codegen/box/delegation/mixed.kt b/compiler/testData/codegen/box/delegation/mixed.kt index 22410f08f4b..c8ef7c370a8 100644 --- a/compiler/testData/codegen/box/delegation/mixed.kt +++ b/compiler/testData/codegen/box/delegation/mixed.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // TARGET_BACKEND: JVM // FILE: Base.java diff --git a/compiler/testData/codegen/box/delegation/simple.kt b/compiler/testData/codegen/box/delegation/simple.kt index 63e0865463d..418cea053e1 100644 --- a/compiler/testData/codegen/box/delegation/simple.kt +++ b/compiler/testData/codegen/box/delegation/simple.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // TARGET_BACKEND: JVM // FILE: Base.java diff --git a/compiler/testData/codegen/box/delegation/simple1.0.kt b/compiler/testData/codegen/box/delegation/simple1.0.kt index 09a86a093eb..36e1d2a5f92 100644 --- a/compiler/testData/codegen/box/delegation/simple1.0.kt +++ b/compiler/testData/codegen/box/delegation/simple1.0.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // TARGET_BACKEND: JVM // LANGUAGE_VERSION: 1.0 // FILE: Base.java diff --git a/compiler/testData/codegen/box/javaInterop/notNullAssertions/enhancedNullability/inFunctionWithExpressionBodyWithJavaGeneric.kt b/compiler/testData/codegen/box/javaInterop/notNullAssertions/enhancedNullability/inFunctionWithExpressionBodyWithJavaGeneric.kt index 37a4170a3e3..e85957c8e19 100644 --- a/compiler/testData/codegen/box/javaInterop/notNullAssertions/enhancedNullability/inFunctionWithExpressionBodyWithJavaGeneric.kt +++ b/compiler/testData/codegen/box/javaInterop/notNullAssertions/enhancedNullability/inFunctionWithExpressionBodyWithJavaGeneric.kt @@ -1,6 +1,6 @@ // !LANGUAGE: +StrictJavaNullabilityAssertions // TARGET_BACKEND: JVM - +// SKIP_JDK6 // See KT-8135 // We could generate runtime assertion on call site for 'generic()' below. diff --git a/compiler/testData/codegen/box/javaInterop/notNullAssertions/functionAssertion.kt b/compiler/testData/codegen/box/javaInterop/notNullAssertions/functionAssertion.kt index 83059412438..678cf1e3353 100644 --- a/compiler/testData/codegen/box/javaInterop/notNullAssertions/functionAssertion.kt +++ b/compiler/testData/codegen/box/javaInterop/notNullAssertions/functionAssertion.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // FILE: F.java diff --git a/compiler/testData/codegen/box/jdk/removeIf.kt b/compiler/testData/codegen/box/jdk/removeIf.kt index eb21c514258..fda2d8fe0ca 100644 --- a/compiler/testData/codegen/box/jdk/removeIf.kt +++ b/compiler/testData/codegen/box/jdk/removeIf.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // FULL_JDK diff --git a/compiler/testData/codegen/box/jdk/stream.kt b/compiler/testData/codegen/box/jdk/stream.kt index 829334592b0..ab89a4a58cc 100644 --- a/compiler/testData/codegen/box/jdk/stream.kt +++ b/compiler/testData/codegen/box/jdk/stream.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // FULL_JDK diff --git a/compiler/testData/codegen/box/jdk/streamBackwardCompatibility.kt b/compiler/testData/codegen/box/jdk/streamBackwardCompatibility.kt index b739dcddaea..8ddf9c02aff 100644 --- a/compiler/testData/codegen/box/jdk/streamBackwardCompatibility.kt +++ b/compiler/testData/codegen/box/jdk/streamBackwardCompatibility.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // TARGET_BACKEND: JVM // LANGUAGE_VERSION: 1.0 // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/jdk/useStream.kt b/compiler/testData/codegen/box/jdk/useStream.kt index 2f35fa5203f..1d65fc43834 100644 --- a/compiler/testData/codegen/box/jdk/useStream.kt +++ b/compiler/testData/codegen/box/jdk/useStream.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // TARGET_BACKEND: JVM // KT-5190 Java 8 Stream.collect couldn't be called // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/jvm8/javaDefaults/defaultMethodOverride.kt b/compiler/testData/codegen/box/jvm8/javaDefaults/defaultMethodOverride.kt index 1dcc4f6e467..287f7458c32 100644 --- a/compiler/testData/codegen/box/jvm8/javaDefaults/defaultMethodOverride.kt +++ b/compiler/testData/codegen/box/jvm8/javaDefaults/defaultMethodOverride.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // TARGET_BACKEND: JVM // FILE: Simple.java diff --git a/compiler/testData/codegen/box/jvm8/javaDefaults/dontDelegateToDefaultMethods.kt b/compiler/testData/codegen/box/jvm8/javaDefaults/dontDelegateToDefaultMethods.kt index 40c55f0aea8..148aaf82fed 100644 --- a/compiler/testData/codegen/box/jvm8/javaDefaults/dontDelegateToDefaultMethods.kt +++ b/compiler/testData/codegen/box/jvm8/javaDefaults/dontDelegateToDefaultMethods.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // TARGET_BACKEND: JVM // FILE: Test.java diff --git a/compiler/testData/codegen/box/jvm8/javaDefaults/invokeDefaultViaSuper.kt b/compiler/testData/codegen/box/jvm8/javaDefaults/invokeDefaultViaSuper.kt index a1e20c914e2..2c01176ff17 100644 --- a/compiler/testData/codegen/box/jvm8/javaDefaults/invokeDefaultViaSuper.kt +++ b/compiler/testData/codegen/box/jvm8/javaDefaults/invokeDefaultViaSuper.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // TARGET_BACKEND: JVM // FILE: Test.java diff --git a/compiler/testData/codegen/box/jvm8/javaDefaults/invokeDefaultViaSuper_16.kt b/compiler/testData/codegen/box/jvm8/javaDefaults/invokeDefaultViaSuper_16.kt index 37e2d06acb9..60d21ec3d1d 100644 --- a/compiler/testData/codegen/box/jvm8/javaDefaults/invokeDefaultViaSuper_16.kt +++ b/compiler/testData/codegen/box/jvm8/javaDefaults/invokeDefaultViaSuper_16.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // TARGET_BACKEND: JVM // FILE: Test.java diff --git a/compiler/testData/codegen/box/jvm8/javaDefaults/samOnInterfaceWithDefaultMethod.kt b/compiler/testData/codegen/box/jvm8/javaDefaults/samOnInterfaceWithDefaultMethod.kt index dfe8645ba50..918be2ce2d9 100644 --- a/compiler/testData/codegen/box/jvm8/javaDefaults/samOnInterfaceWithDefaultMethod.kt +++ b/compiler/testData/codegen/box/jvm8/javaDefaults/samOnInterfaceWithDefaultMethod.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // FILE: JavaCall.java diff --git a/compiler/testData/codegen/box/parametersMetadata/defaultImpls.kt b/compiler/testData/codegen/box/parametersMetadata/defaultImpls.kt index 134ff5bf454..1bb79b01de4 100644 --- a/compiler/testData/codegen/box/parametersMetadata/defaultImpls.kt +++ b/compiler/testData/codegen/box/parametersMetadata/defaultImpls.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/parametersMetadata/delegation.kt b/compiler/testData/codegen/box/parametersMetadata/delegation.kt index 10cd550a678..285cd483ff1 100644 --- a/compiler/testData/codegen/box/parametersMetadata/delegation.kt +++ b/compiler/testData/codegen/box/parametersMetadata/delegation.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/parametersMetadata/enum.kt b/compiler/testData/codegen/box/parametersMetadata/enum.kt index d72e1837719..97e34485b26 100644 --- a/compiler/testData/codegen/box/parametersMetadata/enum.kt +++ b/compiler/testData/codegen/box/parametersMetadata/enum.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/parametersMetadata/extensionFunction.kt b/compiler/testData/codegen/box/parametersMetadata/extensionFunction.kt index c8962777eb3..73729c5ccb5 100644 --- a/compiler/testData/codegen/box/parametersMetadata/extensionFunction.kt +++ b/compiler/testData/codegen/box/parametersMetadata/extensionFunction.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/parametersMetadata/function.kt b/compiler/testData/codegen/box/parametersMetadata/function.kt index dc1dec9dbd9..98eb36286f8 100644 --- a/compiler/testData/codegen/box/parametersMetadata/function.kt +++ b/compiler/testData/codegen/box/parametersMetadata/function.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/parametersMetadata/innerClass.kt b/compiler/testData/codegen/box/parametersMetadata/innerClass.kt index 6ca2b891c36..fd7445e0f35 100644 --- a/compiler/testData/codegen/box/parametersMetadata/innerClass.kt +++ b/compiler/testData/codegen/box/parametersMetadata/innerClass.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/parametersMetadata/superParams.kt b/compiler/testData/codegen/box/parametersMetadata/superParams.kt index 7d42dba82ce..c3a181debbd 100644 --- a/compiler/testData/codegen/box/parametersMetadata/superParams.kt +++ b/compiler/testData/codegen/box/parametersMetadata/superParams.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/reflection/genericSignature/samWrappedLambdaVsReference.kt b/compiler/testData/codegen/box/reflection/genericSignature/samWrappedLambdaVsReference.kt index 62137ac3ec4..420dffe2411 100644 --- a/compiler/testData/codegen/box/reflection/genericSignature/samWrappedLambdaVsReference.kt +++ b/compiler/testData/codegen/box/reflection/genericSignature/samWrappedLambdaVsReference.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/reflection/genericSignature/signatureOfDeepGenericInner.kt b/compiler/testData/codegen/box/reflection/genericSignature/signatureOfDeepGenericInner.kt index d0c53c9b7a5..f7f92e0ddd8 100644 --- a/compiler/testData/codegen/box/reflection/genericSignature/signatureOfDeepGenericInner.kt +++ b/compiler/testData/codegen/box/reflection/genericSignature/signatureOfDeepGenericInner.kt @@ -1,6 +1,6 @@ -// IGNORE_BACKEND: JS_IR +// SKIP_JDK6 +// TARGET_BACKEND: JVM // WITH_REFLECT -// IGNORE_BACKEND: JS, NATIVE abstract class Outer { diff --git a/compiler/testData/codegen/box/reflection/genericSignature/signatureOfDeepInner.kt b/compiler/testData/codegen/box/reflection/genericSignature/signatureOfDeepInner.kt index 203262c67d4..f884729ae43 100644 --- a/compiler/testData/codegen/box/reflection/genericSignature/signatureOfDeepInner.kt +++ b/compiler/testData/codegen/box/reflection/genericSignature/signatureOfDeepInner.kt @@ -1,6 +1,6 @@ -// IGNORE_BACKEND: JS_IR +// SKIP_JDK6 +// TARGET_BACKEND: JVM // WITH_REFLECT -// IGNORE_BACKEND: JS, NATIVE abstract class Outer { diff --git a/compiler/testData/codegen/box/reflection/genericSignature/signatureOfDeepInnerLastGeneric.kt b/compiler/testData/codegen/box/reflection/genericSignature/signatureOfDeepInnerLastGeneric.kt index bb7a56afc82..aeaabd1057a 100644 --- a/compiler/testData/codegen/box/reflection/genericSignature/signatureOfDeepInnerLastGeneric.kt +++ b/compiler/testData/codegen/box/reflection/genericSignature/signatureOfDeepInnerLastGeneric.kt @@ -1,6 +1,6 @@ -// IGNORE_BACKEND: JS_IR +// SKIP_JDK6 +// TARGET_BACKEND: JVM // WITH_REFLECT -// IGNORE_BACKEND: JS, NATIVE abstract class Outer { diff --git a/compiler/testData/codegen/box/reflection/genericSignature/signatureOfGenericInnerGenericOuter.kt b/compiler/testData/codegen/box/reflection/genericSignature/signatureOfGenericInnerGenericOuter.kt index 4632a99ba25..ab6ebb820a1 100644 --- a/compiler/testData/codegen/box/reflection/genericSignature/signatureOfGenericInnerGenericOuter.kt +++ b/compiler/testData/codegen/box/reflection/genericSignature/signatureOfGenericInnerGenericOuter.kt @@ -1,6 +1,6 @@ -// IGNORE_BACKEND: JS_IR +// SKIP_JDK6 +// TARGET_BACKEND: JVM // WITH_REFLECT -// IGNORE_BACKEND: JS, NATIVE abstract class Outer { inner class Inner diff --git a/compiler/testData/codegen/box/reflection/genericSignature/signatureOfGenericInnerSimpleOuter.kt b/compiler/testData/codegen/box/reflection/genericSignature/signatureOfGenericInnerSimpleOuter.kt index 91c8e5fbf6a..d4b2ce397f3 100644 --- a/compiler/testData/codegen/box/reflection/genericSignature/signatureOfGenericInnerSimpleOuter.kt +++ b/compiler/testData/codegen/box/reflection/genericSignature/signatureOfGenericInnerSimpleOuter.kt @@ -1,6 +1,6 @@ -// IGNORE_BACKEND: JS_IR +// SKIP_JDK6 +// TARGET_BACKEND: JVM // WITH_REFLECT -// IGNORE_BACKEND: JS, NATIVE abstract class Outer { inner class Inner diff --git a/compiler/testData/codegen/box/reflection/genericSignature/signatureOfSimpleInnerSimpleOuter.kt b/compiler/testData/codegen/box/reflection/genericSignature/signatureOfSimpleInnerSimpleOuter.kt index 7f162d4dbba..abb62c73051 100644 --- a/compiler/testData/codegen/box/reflection/genericSignature/signatureOfSimpleInnerSimpleOuter.kt +++ b/compiler/testData/codegen/box/reflection/genericSignature/signatureOfSimpleInnerSimpleOuter.kt @@ -1,6 +1,6 @@ -// IGNORE_BACKEND: JS_IR +// SKIP_JDK6 +// TARGET_BACKEND: JVM // WITH_REFLECT -// IGNORE_BACKEND: JS, NATIVE abstract class Outer { inner class Inner diff --git a/compiler/testData/codegen/box/reflection/methodsFromAny/builtinFunctionsToString.kt b/compiler/testData/codegen/box/reflection/methodsFromAny/builtinFunctionsToString.kt index 23b764bd51f..5c7bc1de260 100644 --- a/compiler/testData/codegen/box/reflection/methodsFromAny/builtinFunctionsToString.kt +++ b/compiler/testData/codegen/box/reflection/methodsFromAny/builtinFunctionsToString.kt @@ -1,4 +1,5 @@ -// IGNORE_BACKEND: JS_IR, JS, NATIVE +// SKIP_JDK6 +// TARGET_BACKEND: JVM // FULL_JDK // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/parameters/realParameterNames.kt b/compiler/testData/codegen/box/reflection/parameters/realParameterNames.kt index 76016f00323..7488ca9dfd3 100644 --- a/compiler/testData/codegen/box/reflection/parameters/realParameterNames.kt +++ b/compiler/testData/codegen/box/reflection/parameters/realParameterNames.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/reflection/parameters/synthesizedParameterNames.kt b/compiler/testData/codegen/box/reflection/parameters/synthesizedParameterNames.kt index 0cf3776d32d..62d38ae1b78 100644 --- a/compiler/testData/codegen/box/reflection/parameters/synthesizedParameterNames.kt +++ b/compiler/testData/codegen/box/reflection/parameters/synthesizedParameterNames.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // WITH_REFLECT diff --git a/compiler/testData/codegen/box/sam/constructors/kt19251.kt b/compiler/testData/codegen/box/sam/constructors/kt19251.kt index b48bc00a5ed..be70b806a5e 100644 --- a/compiler/testData/codegen/box/sam/constructors/kt19251.kt +++ b/compiler/testData/codegen/box/sam/constructors/kt19251.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/sam/constructors/kt19251_child.kt b/compiler/testData/codegen/box/sam/constructors/kt19251_child.kt index 5537553f49e..a1f15e2dd5a 100644 --- a/compiler/testData/codegen/box/sam/constructors/kt19251_child.kt +++ b/compiler/testData/codegen/box/sam/constructors/kt19251_child.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // IGNORE_BACKEND: JVM_IR // TARGET_BACKEND: JVM // WITH_RUNTIME diff --git a/compiler/testData/codegen/box/smartCasts/kt19058.kt b/compiler/testData/codegen/box/smartCasts/kt19058.kt index 0bf2c376954..1f558682449 100644 --- a/compiler/testData/codegen/box/smartCasts/kt19058.kt +++ b/compiler/testData/codegen/box/smartCasts/kt19058.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // TARGET_BACKEND: JVM // FILE: Test.kt open class KFoo { diff --git a/compiler/testData/codegen/box/toArray/incorrectToArrayDetection.kt b/compiler/testData/codegen/box/toArray/incorrectToArrayDetection.kt index 58ebed15909..90bd84d0a2b 100644 --- a/compiler/testData/codegen/box/toArray/incorrectToArrayDetection.kt +++ b/compiler/testData/codegen/box/toArray/incorrectToArrayDetection.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // TARGET_BACKEND: JVM // FULL_JDK // WITH_RUNTIME diff --git a/compiler/testData/codegen/boxAgainstJava/sam/kt11519.kt b/compiler/testData/codegen/boxAgainstJava/sam/kt11519.kt index 26d513e9c46..2b1f58f7e8b 100644 --- a/compiler/testData/codegen/boxAgainstJava/sam/kt11519.kt +++ b/compiler/testData/codegen/boxAgainstJava/sam/kt11519.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // IGNORE_BACKEND: JVM_IR // FILE: Custom.java diff --git a/compiler/testData/codegen/boxAgainstJava/sam/kt11519Constructor.kt b/compiler/testData/codegen/boxAgainstJava/sam/kt11519Constructor.kt index 78bcddb3b07..98ea745dc3c 100644 --- a/compiler/testData/codegen/boxAgainstJava/sam/kt11519Constructor.kt +++ b/compiler/testData/codegen/boxAgainstJava/sam/kt11519Constructor.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // IGNORE_BACKEND: JVM_IR // FILE: Custom.java diff --git a/compiler/testData/codegen/boxAgainstJava/sam/samConstructorGenericSignature.kt b/compiler/testData/codegen/boxAgainstJava/sam/samConstructorGenericSignature.kt index 11266290356..a5339d440ec 100644 --- a/compiler/testData/codegen/boxAgainstJava/sam/samConstructorGenericSignature.kt +++ b/compiler/testData/codegen/boxAgainstJava/sam/samConstructorGenericSignature.kt @@ -1,3 +1,4 @@ +// SKIP_JDK6 // IGNORE_BACKEND: JVM_IR // FILE: JavaClass.java diff --git a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/IrJsCodegenBoxTestGenerated.java b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/IrJsCodegenBoxTestGenerated.java index 5cb60e109f2..40cb00f04c6 100644 --- a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/IrJsCodegenBoxTestGenerated.java +++ b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/IrJsCodegenBoxTestGenerated.java @@ -121,11 +121,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { runTest("compiler/testData/codegen/box/annotations/nestedClassesInAnnotations.kt"); } - @TestMetadata("parameterAnnotationInDefaultImpls.kt") - public void testParameterAnnotationInDefaultImpls() throws Exception { - runTest("compiler/testData/codegen/box/annotations/parameterAnnotationInDefaultImpls.kt"); - } - @TestMetadata("parameterWithPrimitiveType.kt") public void testParameterWithPrimitiveType() throws Exception { runTest("compiler/testData/codegen/box/annotations/parameterWithPrimitiveType.kt"); @@ -16459,11 +16454,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { runTest("compiler/testData/codegen/box/reflection/annotations/annotationRetentionAnnotation.kt"); } - @TestMetadata("annotationsOnJavaMembers.kt") - public void testAnnotationsOnJavaMembers() throws Exception { - runTest("compiler/testData/codegen/box/reflection/annotations/annotationsOnJavaMembers.kt"); - } - @TestMetadata("findAnnotation.kt") public void testFindAnnotation() throws Exception { runTest("compiler/testData/codegen/box/reflection/annotations/findAnnotation.kt"); @@ -17472,36 +17462,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { public void testKt6106() throws Exception { runTest("compiler/testData/codegen/box/reflection/genericSignature/kt6106.kt"); } - - @TestMetadata("signatureOfDeepGenericInner.kt") - public void testSignatureOfDeepGenericInner() throws Exception { - runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfDeepGenericInner.kt"); - } - - @TestMetadata("signatureOfDeepInner.kt") - public void testSignatureOfDeepInner() throws Exception { - runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfDeepInner.kt"); - } - - @TestMetadata("signatureOfDeepInnerLastGeneric.kt") - public void testSignatureOfDeepInnerLastGeneric() throws Exception { - runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfDeepInnerLastGeneric.kt"); - } - - @TestMetadata("signatureOfGenericInnerGenericOuter.kt") - public void testSignatureOfGenericInnerGenericOuter() throws Exception { - runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfGenericInnerGenericOuter.kt"); - } - - @TestMetadata("signatureOfGenericInnerSimpleOuter.kt") - public void testSignatureOfGenericInnerSimpleOuter() throws Exception { - runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfGenericInnerSimpleOuter.kt"); - } - - @TestMetadata("signatureOfSimpleInnerSimpleOuter.kt") - public void testSignatureOfSimpleInnerSimpleOuter() throws Exception { - runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfSimpleInnerSimpleOuter.kt"); - } } @TestMetadata("compiler/testData/codegen/box/reflection/isInstance") @@ -17827,11 +17787,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JS_IR, true); } - @TestMetadata("builtinFunctionsToString.kt") - public void testBuiltinFunctionsToString() throws Exception { - runTest("compiler/testData/codegen/box/reflection/methodsFromAny/builtinFunctionsToString.kt"); - } - @TestMetadata("callableReferencesEqualToCallablesFromAPI.kt") public void testCallableReferencesEqualToCallablesFromAPI() throws Exception { runTest("compiler/testData/codegen/box/reflection/methodsFromAny/callableReferencesEqualToCallablesFromAPI.kt"); diff --git a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java index ce9cccf6239..1e3fc1918d0 100644 --- a/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java +++ b/js/js.tests/test/org/jetbrains/kotlin/js/test/semantics/JsCodegenBoxTestGenerated.java @@ -121,11 +121,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { runTest("compiler/testData/codegen/box/annotations/nestedClassesInAnnotations.kt"); } - @TestMetadata("parameterAnnotationInDefaultImpls.kt") - public void testParameterAnnotationInDefaultImpls() throws Exception { - runTest("compiler/testData/codegen/box/annotations/parameterAnnotationInDefaultImpls.kt"); - } - @TestMetadata("parameterWithPrimitiveType.kt") public void testParameterWithPrimitiveType() throws Exception { runTest("compiler/testData/codegen/box/annotations/parameterWithPrimitiveType.kt"); @@ -17504,11 +17499,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { runTest("compiler/testData/codegen/box/reflection/annotations/annotationRetentionAnnotation.kt"); } - @TestMetadata("annotationsOnJavaMembers.kt") - public void testAnnotationsOnJavaMembers() throws Exception { - runTest("compiler/testData/codegen/box/reflection/annotations/annotationsOnJavaMembers.kt"); - } - @TestMetadata("findAnnotation.kt") public void testFindAnnotation() throws Exception { runTest("compiler/testData/codegen/box/reflection/annotations/findAnnotation.kt"); @@ -18517,36 +18507,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { public void testKt6106() throws Exception { runTest("compiler/testData/codegen/box/reflection/genericSignature/kt6106.kt"); } - - @TestMetadata("signatureOfDeepGenericInner.kt") - public void testSignatureOfDeepGenericInner() throws Exception { - runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfDeepGenericInner.kt"); - } - - @TestMetadata("signatureOfDeepInner.kt") - public void testSignatureOfDeepInner() throws Exception { - runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfDeepInner.kt"); - } - - @TestMetadata("signatureOfDeepInnerLastGeneric.kt") - public void testSignatureOfDeepInnerLastGeneric() throws Exception { - runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfDeepInnerLastGeneric.kt"); - } - - @TestMetadata("signatureOfGenericInnerGenericOuter.kt") - public void testSignatureOfGenericInnerGenericOuter() throws Exception { - runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfGenericInnerGenericOuter.kt"); - } - - @TestMetadata("signatureOfGenericInnerSimpleOuter.kt") - public void testSignatureOfGenericInnerSimpleOuter() throws Exception { - runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfGenericInnerSimpleOuter.kt"); - } - - @TestMetadata("signatureOfSimpleInnerSimpleOuter.kt") - public void testSignatureOfSimpleInnerSimpleOuter() throws Exception { - runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfSimpleInnerSimpleOuter.kt"); - } } @TestMetadata("compiler/testData/codegen/box/reflection/isInstance") @@ -18872,11 +18832,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest { KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/methodsFromAny"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JS, true); } - @TestMetadata("builtinFunctionsToString.kt") - public void testBuiltinFunctionsToString() throws Exception { - runTest("compiler/testData/codegen/box/reflection/methodsFromAny/builtinFunctionsToString.kt"); - } - @TestMetadata("callableReferencesEqualToCallablesFromAPI.kt") public void testCallableReferencesEqualToCallablesFromAPI() throws Exception { runTest("compiler/testData/codegen/box/reflection/methodsFromAny/callableReferencesEqualToCallablesFromAPI.kt");