From 48fb085bf6c7ff54a9a88e4c5c5d5b7f69b60523 Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Mon, 15 Feb 2021 17:07:45 +0100 Subject: [PATCH] Deprecate kotlin.Metadata.bytecodeVersion #KT-41758 Fixed --- libraries/stdlib/jvm/runtime/kotlin/Metadata.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libraries/stdlib/jvm/runtime/kotlin/Metadata.kt b/libraries/stdlib/jvm/runtime/kotlin/Metadata.kt index ad9c1cb49bd..1bac9414ddd 100644 --- a/libraries/stdlib/jvm/runtime/kotlin/Metadata.kt +++ b/libraries/stdlib/jvm/runtime/kotlin/Metadata.kt @@ -34,8 +34,12 @@ public annotation class Metadata( /** * The version of the bytecode interface (naming conventions, signatures) of the class file annotated with this annotation. */ + @Deprecated( + "Bytecode version had no significant use in Kotlin metadata and it will be removed in a future version.", + level = DeprecationLevel.WARNING, + ) @get:JvmName("bv") - val bytecodeVersion: IntArray = [], + val bytecodeVersion: IntArray = [1, 0, 3], /** * Metadata in a custom format. The format may be different (or even absent) for different kinds. */