cd20f31810
#KT-66447 Fixed
20 lines
453 B
Kotlin
Vendored
20 lines
453 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// FULL_JDK
|
|
// LANGUAGE: -JavaTypeParameterDefaultRepresentationWithDNN
|
|
// JVM_TARGET: 1.8
|
|
|
|
import java.util.concurrent.Future
|
|
import java.util.concurrent.atomic.AtomicReference
|
|
|
|
fun foo(future: Future<String?>) {
|
|
future.get()<!UNSAFE_CALL!>.<!>length
|
|
}
|
|
|
|
fun bar(threadLocal: ThreadLocal<String?>) {
|
|
threadLocal.get()<!UNSAFE_CALL!>.<!>length
|
|
}
|
|
|
|
fun baz(ref: AtomicReference<String?>) {
|
|
ref.get()<!UNSAFE_CALL!>.<!>length
|
|
}
|