From ca005977b0e96ea254ea6c157f3c98b6110f36a7 Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Fri, 13 Mar 2015 15:46:15 +0300 Subject: [PATCH] Restore KObject and deprecate it instead To let old code work with the new runtime --- .../src/kotlin/jvm/internal/KObject.java | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 core/runtime.jvm/src/kotlin/jvm/internal/KObject.java diff --git a/core/runtime.jvm/src/kotlin/jvm/internal/KObject.java b/core/runtime.jvm/src/kotlin/jvm/internal/KObject.java new file mode 100644 index 00000000000..dbddf98e122 --- /dev/null +++ b/core/runtime.jvm/src/kotlin/jvm/internal/KObject.java @@ -0,0 +1,22 @@ +/* + * Copyright 2010-2015 JetBrains s.r.o. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package kotlin.jvm.internal; + +// TODO: drop when ABI version reaches 22 +@Deprecated +public interface KObject { +}