Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
161333d3e7d13dd98386fe346a71a07eadfe4756
/
.
/
compiler
/
testData
/
codegen
/
boxModernJdk
/
testsWithJava11
/
inheritranceFromJavaUtilProperties.kt
blob: 45e655583d2578081681cbfdd4ffeb7d9ccbba18 [
file
]
// TARGET_BACKEND: JVM_IR
// ISSUE: KT-72345
import
java
.
util
.
Properties
class
MyProperties
:
Properties
()
fun box
():
String
{
val p
=
MyProperties
()
p
.
setProperty
(
"my.prop"
,
"OK"
)
return
if
(
p
.
containsValue
(
"OK"
))
{
"OK"
}
else
{
"fail"
}
}