diff --git a/libraries/tools/binary-compatibility-validator/reference-public-api/kotlin-runtime.txt b/libraries/tools/binary-compatibility-validator/reference-public-api/kotlin-runtime.txt index 5b9cde0b1db..78440745a6d 100644 --- a/libraries/tools/binary-compatibility-validator/reference-public-api/kotlin-runtime.txt +++ b/libraries/tools/binary-compatibility-validator/reference-public-api/kotlin-runtime.txt @@ -53,6 +53,22 @@ public abstract interface annotation class kotlin/Suppress : java/lang/annotatio public abstract fun names ()[Ljava/lang/String; } +public final class kotlin/TypeAliasesKt { + public static synthetic fun AssertionError$annotations ()V + public static synthetic fun ClassCastException$annotations ()V + public static synthetic fun Comparator$annotations ()V + public static synthetic fun Error$annotations ()V + public static synthetic fun Exception$annotations ()V + public static synthetic fun IllegalArgumentException$annotations ()V + public static synthetic fun IllegalStateException$annotations ()V + public static synthetic fun IndexOutOfBoundsException$annotations ()V + public static synthetic fun NoSuchElementException$annotations ()V + public static synthetic fun NullPointerException$annotations ()V + public static synthetic fun NumberFormatException$annotations ()V + public static synthetic fun RuntimeException$annotations ()V + public static synthetic fun UnsupportedOperationException$annotations ()V +} + public class kotlin/TypeCastException : java/lang/ClassCastException { public fun ()V public fun (Ljava/lang/String;)V @@ -187,6 +203,8 @@ public final class kotlin/jvm/JvmClassMappingKt { public static final fun getJavaPrimitiveType (Lkotlin/reflect/KClass;)Ljava/lang/Class; public static final fun getKotlinClass (Ljava/lang/Class;)Lkotlin/reflect/KClass; public static final fun getRuntimeClassOfKClassInstance (Lkotlin/reflect/KClass;)Ljava/lang/Class; + public static synthetic fun java$annotations (Lkotlin/reflect/KClass;)V + public static synthetic fun javaClass$annotations (Lkotlin/reflect/KClass;)V } public abstract interface annotation class kotlin/jvm/JvmField : java/lang/annotation/Annotation { @@ -533,6 +551,12 @@ public final class kotlin/jvm/internal/IntSpreadBuilder : kotlin/jvm/internal/Pr } public class kotlin/jvm/internal/Intrinsics { + public static fun areEqual (DLjava/lang/Double;)Z + public static fun areEqual (FLjava/lang/Float;)Z + public static fun areEqual (Ljava/lang/Double;D)Z + public static fun areEqual (Ljava/lang/Double;Ljava/lang/Double;)Z + public static fun areEqual (Ljava/lang/Float;F)Z + public static fun areEqual (Ljava/lang/Float;Ljava/lang/Float;)Z public static fun areEqual (Ljava/lang/Object;Ljava/lang/Object;)Z public static fun checkExpressionValueIsNotNull (Ljava/lang/Object;Ljava/lang/String;)V public static fun checkFieldIsNotNull (Ljava/lang/Object;Ljava/lang/String;)V @@ -1074,6 +1098,14 @@ public abstract interface class kotlin/reflect/KCallable : kotlin/reflect/KAnnot public abstract fun isOpen ()Z } +public final class kotlin/reflect/KCallable$DefaultImpls { + public static synthetic fun isAbstract$annotations ()V + public static synthetic fun isFinal$annotations ()V + public static synthetic fun isOpen$annotations ()V + public static synthetic fun typeParameters$annotations ()V + public static synthetic fun visibility$annotations ()V +} + public abstract interface class kotlin/reflect/KClass : kotlin/reflect/KAnnotatedElement, kotlin/reflect/KClassifier, kotlin/reflect/KDeclarationContainer { public abstract fun equals (Ljava/lang/Object;)Z public abstract fun getConstructors ()Ljava/util/Collection; @@ -1096,6 +1128,19 @@ public abstract interface class kotlin/reflect/KClass : kotlin/reflect/KAnnotate public abstract fun isSealed ()Z } +public final class kotlin/reflect/KClass$DefaultImpls { + public static synthetic fun isAbstract$annotations ()V + public static synthetic fun isCompanion$annotations ()V + public static synthetic fun isData$annotations ()V + public static synthetic fun isFinal$annotations ()V + public static synthetic fun isInner$annotations ()V + public static synthetic fun isOpen$annotations ()V + public static synthetic fun isSealed$annotations ()V + public static synthetic fun supertypes$annotations ()V + public static synthetic fun typeParameters$annotations ()V + public static synthetic fun visibility$annotations ()V +} + public abstract interface class kotlin/reflect/KClassifier { } @@ -1111,6 +1156,14 @@ public abstract interface class kotlin/reflect/KFunction : kotlin/Function, kotl public abstract fun isSuspend ()Z } +public final class kotlin/reflect/KFunction$DefaultImpls { + public static synthetic fun isExternal$annotations ()V + public static synthetic fun isInfix$annotations ()V + public static synthetic fun isInline$annotations ()V + public static synthetic fun isOperator$annotations ()V + public static synthetic fun isSuspend$annotations ()V +} + public abstract interface class kotlin/reflect/KMutableProperty : kotlin/reflect/KProperty { public abstract fun getSetter ()Lkotlin/reflect/KMutableProperty$Setter; } @@ -1151,6 +1204,10 @@ public abstract interface class kotlin/reflect/KParameter : kotlin/reflect/KAnno public abstract fun isVararg ()Z } +public final class kotlin/reflect/KParameter$DefaultImpls { + public static synthetic fun isVararg$annotations ()V +} + public final class kotlin/reflect/KParameter$Kind : java/lang/Enum { public static final field EXTENSION_RECEIVER Lkotlin/reflect/KParameter$Kind; public static final field INSTANCE Lkotlin/reflect/KParameter$Kind; @@ -1169,6 +1226,11 @@ public abstract interface class kotlin/reflect/KProperty$Accessor { public abstract fun getProperty ()Lkotlin/reflect/KProperty; } +public final class kotlin/reflect/KProperty$DefaultImpls { + public static synthetic fun isConst$annotations ()V + public static synthetic fun isLateinit$annotations ()V +} + public abstract interface class kotlin/reflect/KProperty$Getter : kotlin/reflect/KFunction, kotlin/reflect/KProperty$Accessor { } @@ -1205,6 +1267,11 @@ public abstract interface class kotlin/reflect/KType { public abstract fun isMarkedNullable ()Z } +public final class kotlin/reflect/KType$DefaultImpls { + public static synthetic fun arguments$annotations ()V + public static synthetic fun classifier$annotations ()V +} + public abstract interface class kotlin/reflect/KTypeParameter : kotlin/reflect/KClassifier { public abstract fun getName ()Ljava/lang/String; public abstract fun getUpperBounds ()Ljava/util/List; @@ -1250,3 +1317,8 @@ public final class kotlin/reflect/KVisibility : java/lang/Enum { public static fun values ()[Lkotlin/reflect/KVisibility; } +public final class kotlin/text/TypeAliasesKt { + public static synthetic fun Appendable$annotations ()V + public static synthetic fun StringBuilder$annotations ()V +} + diff --git a/libraries/tools/binary-compatibility-validator/reference-public-api/kotlin-stdlib-runtime-merged.txt b/libraries/tools/binary-compatibility-validator/reference-public-api/kotlin-stdlib-runtime-merged.txt index 61e151251de..7405726242e 100644 --- a/libraries/tools/binary-compatibility-validator/reference-public-api/kotlin-stdlib-runtime-merged.txt +++ b/libraries/tools/binary-compatibility-validator/reference-public-api/kotlin-stdlib-runtime-merged.txt @@ -18,6 +18,7 @@ public abstract interface annotation class kotlin/DslMarker : java/lang/annotati public final class kotlin/ExceptionsKt { public static final fun addSuppressed (Ljava/lang/Throwable;Ljava/lang/Throwable;)V public static final fun getStackTrace (Ljava/lang/Throwable;)[Ljava/lang/StackTraceElement; + public static synthetic fun stackTrace$annotations (Ljava/lang/Throwable;)V } public abstract interface annotation class kotlin/ExtensionFunctionType : java/lang/annotation/Annotation { @@ -139,6 +140,22 @@ public final class kotlin/TuplesKt { public static final fun toList (Lkotlin/Triple;)Ljava/util/List; } +public final class kotlin/TypeAliasesKt { + public static synthetic fun AssertionError$annotations ()V + public static synthetic fun ClassCastException$annotations ()V + public static synthetic fun Comparator$annotations ()V + public static synthetic fun Error$annotations ()V + public static synthetic fun Exception$annotations ()V + public static synthetic fun IllegalArgumentException$annotations ()V + public static synthetic fun IllegalStateException$annotations ()V + public static synthetic fun IndexOutOfBoundsException$annotations ()V + public static synthetic fun NoSuchElementException$annotations ()V + public static synthetic fun NullPointerException$annotations ()V + public static synthetic fun NumberFormatException$annotations ()V + public static synthetic fun RuntimeException$annotations ()V + public static synthetic fun UnsupportedOperationException$annotations ()V +} + public class kotlin/TypeCastException : java/lang/ClassCastException { public fun ()V public fun (Ljava/lang/String;)V @@ -161,6 +178,7 @@ public abstract interface annotation class kotlin/UnsafeVariance : java/lang/ann public final class kotlin/_Assertions { public static final field INSTANCE Lkotlin/_Assertions; + public static synthetic fun ENABLED$annotations ()V } public final class kotlin/annotation/AnnotationRetention : java/lang/Enum { @@ -1909,6 +1927,15 @@ public abstract class kotlin/collections/ShortIterator : java/util/Iterator, kot public fun remove ()V } +public final class kotlin/collections/TypeAliasesKt { + public static synthetic fun ArrayList$annotations ()V + public static synthetic fun HashMap$annotations ()V + public static synthetic fun HashSet$annotations ()V + public static synthetic fun LinkedHashMap$annotations ()V + public static synthetic fun LinkedHashSet$annotations ()V + public static synthetic fun RandomAccess$annotations ()V +} + public final class kotlin/comparisons/ComparisonsKt { public static final fun compareBy ([Lkotlin/jvm/functions/Function1;)Ljava/util/Comparator; public static final fun compareValues (Ljava/lang/Comparable;Ljava/lang/Comparable;)I @@ -2022,6 +2049,7 @@ public final class kotlin/coroutines/experimental/SequenceBuilderKt { } public final class kotlin/coroutines/experimental/intrinsics/IntrinsicsKt { + public static synthetic fun COROUTINE_SUSPENDED$annotations ()V public static final fun getCOROUTINE_SUSPENDED ()Ljava/lang/Object; } @@ -2180,6 +2208,8 @@ public final class kotlin/jvm/JvmClassMappingKt { public static final fun getJavaPrimitiveType (Lkotlin/reflect/KClass;)Ljava/lang/Class; public static final fun getKotlinClass (Ljava/lang/Class;)Lkotlin/reflect/KClass; public static final fun getRuntimeClassOfKClassInstance (Lkotlin/reflect/KClass;)Ljava/lang/Class; + public static synthetic fun java$annotations (Lkotlin/reflect/KClass;)V + public static synthetic fun javaClass$annotations (Lkotlin/reflect/KClass;)V } public abstract interface annotation class kotlin/jvm/JvmField : java/lang/annotation/Annotation { @@ -2526,6 +2556,12 @@ public final class kotlin/jvm/internal/IntSpreadBuilder : kotlin/jvm/internal/Pr } public class kotlin/jvm/internal/Intrinsics { + public static fun areEqual (DLjava/lang/Double;)Z + public static fun areEqual (FLjava/lang/Float;)Z + public static fun areEqual (Ljava/lang/Double;D)Z + public static fun areEqual (Ljava/lang/Double;Ljava/lang/Double;)Z + public static fun areEqual (Ljava/lang/Float;F)Z + public static fun areEqual (Ljava/lang/Float;Ljava/lang/Float;)Z public static fun areEqual (Ljava/lang/Object;Ljava/lang/Object;)Z public static fun checkExpressionValueIsNotNull (Ljava/lang/Object;Ljava/lang/String;)V public static fun checkFieldIsNotNull (Ljava/lang/Object;Ljava/lang/String;)V @@ -3203,6 +3239,14 @@ public abstract interface class kotlin/reflect/KCallable : kotlin/reflect/KAnnot public abstract fun isOpen ()Z } +public final class kotlin/reflect/KCallable$DefaultImpls { + public static synthetic fun isAbstract$annotations ()V + public static synthetic fun isFinal$annotations ()V + public static synthetic fun isOpen$annotations ()V + public static synthetic fun typeParameters$annotations ()V + public static synthetic fun visibility$annotations ()V +} + public abstract interface class kotlin/reflect/KClass : kotlin/reflect/KAnnotatedElement, kotlin/reflect/KClassifier, kotlin/reflect/KDeclarationContainer { public abstract fun equals (Ljava/lang/Object;)Z public abstract fun getConstructors ()Ljava/util/Collection; @@ -3225,6 +3269,19 @@ public abstract interface class kotlin/reflect/KClass : kotlin/reflect/KAnnotate public abstract fun isSealed ()Z } +public final class kotlin/reflect/KClass$DefaultImpls { + public static synthetic fun isAbstract$annotations ()V + public static synthetic fun isCompanion$annotations ()V + public static synthetic fun isData$annotations ()V + public static synthetic fun isFinal$annotations ()V + public static synthetic fun isInner$annotations ()V + public static synthetic fun isOpen$annotations ()V + public static synthetic fun isSealed$annotations ()V + public static synthetic fun supertypes$annotations ()V + public static synthetic fun typeParameters$annotations ()V + public static synthetic fun visibility$annotations ()V +} + public abstract interface class kotlin/reflect/KClassifier { } @@ -3240,6 +3297,14 @@ public abstract interface class kotlin/reflect/KFunction : kotlin/Function, kotl public abstract fun isSuspend ()Z } +public final class kotlin/reflect/KFunction$DefaultImpls { + public static synthetic fun isExternal$annotations ()V + public static synthetic fun isInfix$annotations ()V + public static synthetic fun isInline$annotations ()V + public static synthetic fun isOperator$annotations ()V + public static synthetic fun isSuspend$annotations ()V +} + public abstract interface class kotlin/reflect/KMutableProperty : kotlin/reflect/KProperty { public abstract fun getSetter ()Lkotlin/reflect/KMutableProperty$Setter; } @@ -3280,6 +3345,10 @@ public abstract interface class kotlin/reflect/KParameter : kotlin/reflect/KAnno public abstract fun isVararg ()Z } +public final class kotlin/reflect/KParameter$DefaultImpls { + public static synthetic fun isVararg$annotations ()V +} + public final class kotlin/reflect/KParameter$Kind : java/lang/Enum { public static final field EXTENSION_RECEIVER Lkotlin/reflect/KParameter$Kind; public static final field INSTANCE Lkotlin/reflect/KParameter$Kind; @@ -3298,6 +3367,11 @@ public abstract interface class kotlin/reflect/KProperty$Accessor { public abstract fun getProperty ()Lkotlin/reflect/KProperty; } +public final class kotlin/reflect/KProperty$DefaultImpls { + public static synthetic fun isConst$annotations ()V + public static synthetic fun isLateinit$annotations ()V +} + public abstract interface class kotlin/reflect/KProperty$Getter : kotlin/reflect/KFunction, kotlin/reflect/KProperty$Accessor { } @@ -3334,6 +3408,11 @@ public abstract interface class kotlin/reflect/KType { public abstract fun isMarkedNullable ()Z } +public final class kotlin/reflect/KType$DefaultImpls { + public static synthetic fun arguments$annotations ()V + public static synthetic fun classifier$annotations ()V +} + public abstract interface class kotlin/reflect/KTypeParameter : kotlin/reflect/KClassifier { public abstract fun getName ()Ljava/lang/String; public abstract fun getUpperBounds ()Ljava/util/List; @@ -3988,6 +4067,11 @@ public final class kotlin/text/StringsKt { public static final fun zip (Ljava/lang/CharSequence;Ljava/lang/CharSequence;Lkotlin/jvm/functions/Function2;)Ljava/util/List; } +public final class kotlin/text/TypeAliasesKt { + public static synthetic fun Appendable$annotations ()V + public static synthetic fun StringBuilder$annotations ()V +} + public final class kotlin/text/Typography { public static final field INSTANCE Lkotlin/text/Typography; public static final field almostEqual C diff --git a/libraries/tools/binary-compatibility-validator/reference-public-api/kotlin-stdlib.txt b/libraries/tools/binary-compatibility-validator/reference-public-api/kotlin-stdlib.txt index 108f8567909..450059e581e 100644 --- a/libraries/tools/binary-compatibility-validator/reference-public-api/kotlin-stdlib.txt +++ b/libraries/tools/binary-compatibility-validator/reference-public-api/kotlin-stdlib.txt @@ -1,6 +1,7 @@ public final class kotlin/ExceptionsKt { public static final fun addSuppressed (Ljava/lang/Throwable;Ljava/lang/Throwable;)V public static final fun getStackTrace (Ljava/lang/Throwable;)[Ljava/lang/StackTraceElement; + public static synthetic fun stackTrace$annotations (Ljava/lang/Throwable;)V } public final class kotlin/KotlinVersion : java/lang/Comparable { @@ -86,6 +87,7 @@ public final class kotlin/TuplesKt { public final class kotlin/_Assertions { public static final field INSTANCE Lkotlin/_Assertions; + public static synthetic fun ENABLED$annotations ()V } public abstract class kotlin/collections/AbstractCollection : java/util/Collection, kotlin/jvm/internal/markers/KMappedMarker { @@ -1728,6 +1730,15 @@ public final class kotlin/collections/SetsKt { public static final fun sortedSetOf ([Ljava/lang/Object;)Ljava/util/TreeSet; } +public final class kotlin/collections/TypeAliasesKt { + public static synthetic fun ArrayList$annotations ()V + public static synthetic fun HashMap$annotations ()V + public static synthetic fun HashSet$annotations ()V + public static synthetic fun LinkedHashMap$annotations ()V + public static synthetic fun LinkedHashSet$annotations ()V + public static synthetic fun RandomAccess$annotations ()V +} + public final class kotlin/comparisons/ComparisonsKt { public static final fun compareBy ([Lkotlin/jvm/functions/Function1;)Ljava/util/Comparator; public static final fun compareValues (Ljava/lang/Comparable;Ljava/lang/Comparable;)I @@ -1841,6 +1852,7 @@ public final class kotlin/coroutines/experimental/SequenceBuilderKt { } public final class kotlin/coroutines/experimental/intrinsics/IntrinsicsKt { + public static synthetic fun COROUTINE_SUSPENDED$annotations ()V public static final fun getCOROUTINE_SUSPENDED ()Ljava/lang/Object; } diff --git a/libraries/tools/binary-compatibility-validator/src/test/kotlin/cases/interfaces/interfaces.txt b/libraries/tools/binary-compatibility-validator/src/test/kotlin/cases/interfaces/interfaces.txt index 4f37b42f3af..c24ec60db73 100644 --- a/libraries/tools/binary-compatibility-validator/src/test/kotlin/cases/interfaces/interfaces.txt +++ b/libraries/tools/binary-compatibility-validator/src/test/kotlin/cases/interfaces/interfaces.txt @@ -25,3 +25,7 @@ public abstract interface class cases/interfaces/EmptyImpls { public abstract fun getProperty ()Ljava/lang/String; } +public final class cases/interfaces/EmptyImpls$DefaultImpls { + public static synthetic fun property$annotations ()V +} + diff --git a/libraries/tools/binary-compatibility-validator/src/test/kotlin/cases/special/special.txt b/libraries/tools/binary-compatibility-validator/src/test/kotlin/cases/special/special.txt index 40c074d2455..575f7ab27c6 100644 --- a/libraries/tools/binary-compatibility-validator/src/test/kotlin/cases/special/special.txt +++ b/libraries/tools/binary-compatibility-validator/src/test/kotlin/cases/special/special.txt @@ -13,6 +13,8 @@ public final class cases/special/HiddenClass { public final synthetic fun getHiddenVar ()I public final synthetic fun getVarWithHiddenAccessors ()Ljava/lang/String; public final synthetic fun hiddenFun ()V + public static synthetic fun hiddenVal$annotations ()V + public static synthetic fun hiddenVar$annotations ()V public final synthetic fun setHiddenVar (I)V public final synthetic fun setVarWithHiddenAccessors (Ljava/lang/String;)V }