[Standard Library] Take the javaClass deprecation back as its replacement is often inconvenient.

This commit is contained in:
Ilya Gorbunov
2017-02-20 16:17:23 +03:00
parent d124912c91
commit 5867d27fb7
3 changed files with 0 additions and 3 deletions
@@ -1,4 +1,3 @@
// !DIAGNOSTICS: -DEPRECATION
package test
class A {
@@ -1,4 +1,3 @@
// !DIAGNOSTICS: -DEPRECATION
// KT-9078 (NPE in control flow analysis); EA-71535
abstract class KFunctionKt9005WorkAround<out R: Any?>(private val _functionInstance: Function<R>) {
private val _reflectedFunction: kotlin.reflect.KFunction<R> = _functionInstance.<!UNRESOLVED_REFERENCE!>reflect<!>() ?: throw IllegalStateException("")