Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Jdk9Platform (0.04 sec)

  1. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/PlatformRegistry.kt

        if (androidPlatform != null) return androidPlatform
    
        // If the API version is 0, assume this is the Android artifact, but running on the JVM without Robolectric.
        if (Build.VERSION.SDK_INT == 0) {
          return Jdk9Platform.buildIfSupported()
            ?: Platform()
        }
    
        throw IllegalStateException("Expected Android API level 21+ but was ${Build.VERSION.SDK_INT}")
      }
    
      actual val isAndroid: Boolean
        get() = true
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 1.6K bytes
    - Viewed (0)
Back to top