Provide specialized stdlib function implementations depending on current JRE version #KT-8254
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package kotlin.internal
|
||||
|
||||
import java.io.Closeable
|
||||
|
||||
@Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER", "CANNOT_OVERRIDE_INVISIBLE_MEMBER")
|
||||
internal open class JRE7PlatformImplementations : PlatformImplementations() {
|
||||
override fun closeSuppressed(instance: Closeable, cause: Throwable) = instance.closeSuppressed(cause)
|
||||
}
|
||||
Reference in New Issue
Block a user